Skip to content

Commit

Permalink
chore!: drop support for node 14 and 16
Browse files Browse the repository at this point in the history
  • Loading branch information
bostrom committed Sep 18, 2024
1 parent badc409 commit d032cd0
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
node-version: [18.x, 20.x, 22.x]
steps:
- name: Install canvas dependencies
run: sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
Expand Down Expand Up @@ -44,6 +44,11 @@ jobs:
needs: coveralls
if: ${{ success() && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/next' || github.ref == 'refs/heads/beta') }}
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -52,9 +57,11 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 14
node-version: 'lts/*'
- name: Install dependencies
run: npm ci
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures
- name: Build
run: npm run build
- name: Release
Expand Down

0 comments on commit d032cd0

Please sign in to comment.