Skip to content

Commit

Permalink
chore: upgrade node in development env to lts/iron
Browse files Browse the repository at this point in the history
  • Loading branch information
dukeluo committed Feb 10, 2024
1 parent c5e7e89 commit 7e81cb7
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 17 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version-file: .nvmrc
- run: npm ci
- run: npm run lint
- run: npm run test
Expand All @@ -23,10 +23,10 @@ jobs:
contents: read
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version-file: .nvmrc
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ jobs:
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version-file: .nvmrc
- run: npm install
- run: npm run lint
- run: npm run test
- run: npm run test:report
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
directory: coverage
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lts/iron
3 changes: 0 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,6 @@
"prettier": "2.5.1",
"rollup": "^3.26.3"
},
"engines": {
"node": ">= 16"
},
"peerDependencies": {
"eslint": ">=7.28.0"
}
Expand Down

0 comments on commit 7e81cb7

Please sign in to comment.