Skip to content

Commit

Permalink
fix github build
Browse files Browse the repository at this point in the history
  • Loading branch information
apatsufas committed Oct 8, 2024
1 parent 6785a7d commit 0e43fcf
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ jobs:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
# the Node.js versions to build on
node-version: [10.x, 12.x, 13.x, 14.x, 15.x]
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -27,5 +27,11 @@ jobs:

- name: Build the project
run: npm run build
env:
CI: true

- name: List, audit, fix outdated dependencies and build again
run: |
npm list --outdated
npm audit || true # ignore failures
npm audit fix || true
npm list --outdated
npm run build

0 comments on commit 0e43fcf

Please sign in to comment.