Skip to content

Commit 6b2d5e5

Browse files
committed
build(github actions): updating Node.js version for build and release to 16.x, 18.x
1 parent 63ed647 commit 6b2d5e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release-on-push-to-main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
node-version: [12.x, 14.x]
14+
node-version: [16.x, 18.x]
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v2
@@ -34,7 +34,7 @@ jobs:
3434
run: npm run lint
3535

3636
- name: Coverage
37-
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && matrix.node-version == '12.x'
37+
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && matrix.node-version == '16.x'
3838
uses: codecov/codecov-action@v1
3939
with:
4040
token: ${{ secrets.CODECOV_TOKEN }}
@@ -43,7 +43,7 @@ jobs:
4343
verbose: true
4444

4545
- name: Release
46-
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && matrix.node-version == '12.x'
46+
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && matrix.node-version == '16.x'
4747
run: npm run release
4848
env:
4949
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)