Skip to content

Commit 7e81cb7

Browse files
committed
chore: upgrade node in development env to lts/iron
1 parent c5e7e89 commit 7e81cb7

File tree

6 files changed

+11
-17
lines changed

6 files changed

+11
-17
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
build:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
12-
- uses: actions/setup-node@v3
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-node@v4
1313
with:
14-
node-version: '18.x'
14+
node-version-file: .nvmrc
1515
- run: npm ci
1616
- run: npm run lint
1717
- run: npm run test
@@ -23,10 +23,10 @@ jobs:
2323
contents: read
2424
id-token: write
2525
steps:
26-
- uses: actions/checkout@v3
27-
- uses: actions/setup-node@v3
26+
- uses: actions/checkout@v4
27+
- uses: actions/setup-node@v4
2828
with:
29-
node-version: '18.x'
29+
node-version-file: .nvmrc
3030
registry-url: https://registry.npmjs.org/
3131
- run: npm ci
3232
- run: npm run build

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ jobs:
77
platform: [ubuntu-latest, macos-latest, windows-latest]
88
runs-on: ${{ matrix.platform }}
99
steps:
10-
- uses: actions/checkout@v3
11-
- uses: actions/setup-node@v3
10+
- uses: actions/checkout@v4
11+
- uses: actions/setup-node@v4
1212
with:
13-
node-version: '18.x'
13+
node-version-file: .nvmrc
1414
- run: npm install
1515
- run: npm run lint
1616
- run: npm run test
1717
- run: npm run test:report
1818
- name: Upload coverage reports to Codecov
19-
uses: codecov/codecov-action@v3
19+
uses: codecov/codecov-action@v4
2020
with:
2121
directory: coverage

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lts/iron

package-lock.json

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,6 @@
6969
"prettier": "2.5.1",
7070
"rollup": "^3.26.3"
7171
},
72-
"engines": {
73-
"node": ">= 16"
74-
},
7572
"peerDependencies": {
7673
"eslint": ">=7.28.0"
7774
}

0 commit comments

Comments
 (0)