Skip to content

Commit

Permalink
Update Node.js versions (deprecate v12)
Browse files Browse the repository at this point in the history
  • Loading branch information
eartharoid committed Oct 26, 2022
1 parent 7e83963 commit cede78e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '18'
- uses: bahmutov/npm-install@v1
- run: npm run lint

test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '12', '14', '16' ]
node: [ '14', '16', '18' ]
name: Node v${{ matrix.node }} test
steps:
- uses: actions/checkout@v2
Expand All @@ -36,7 +36,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '18'
registry-url: https://registry.npmjs.org/
- uses: bahmutov/npm-install@v1
- run: npm run build
Expand All @@ -51,7 +51,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '18'
registry-url: https://npm.pkg.github.com/
- uses: bahmutov/npm-install@v1
- run: npm run build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '18'
- uses: bahmutov/npm-install@v1
- run: npm run lint

test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '12', '14', '16' ]
node: [ '14', '16', '18' ]
name: Node v${{ matrix.node }} test
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit cede78e

Please sign in to comment.