Skip to content

Commit

Permalink
build(github actions): updating Node.js version for build and release…
Browse files Browse the repository at this point in the history
… to 16.x, 18.x
  • Loading branch information
davidtucker committed Feb 7, 2023
1 parent 63ed647 commit 6b2d5e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-on-push-to-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x]
node-version: [16.x, 18.x]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -34,7 +34,7 @@ jobs:
run: npm run lint

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

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

0 comments on commit 6b2d5e5

Please sign in to comment.