Skip to content

Commit

Permalink
ci: deploy from node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
glebbash committed Mar 27, 2024
1 parent 2e5c065 commit 01f1284
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,13 @@ jobs:
with:
node-version: ${{ matrix.node }}

- name: Update npm
if: matrix.node == 14
run: |
npm i -g npm@latest
- name: Test and generate coverage
run: |
npm ci
npm run test:ci
- name: Coveralls
if: matrix.node == 16
if: matrix.node == 20
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -44,10 +39,10 @@ jobs:
with:
fetch-depth: 0

- name: Use Node.js 16
- name: Use Node.js 20
uses: actions/setup-node@v1
with:
node-version: 16
node-version: 20

- name: Install dependencies
run: |
Expand Down

0 comments on commit 01f1284

Please sign in to comment.