Skip to content

Split CI and release workflows, pin actions to SHAs #203

Split CI and release workflows, pin actions to SHAs

Split CI and release workflows, pin actions to SHAs #203

Workflow file for this run

name: Node.js CI
permissions: {}
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
permissions:
contents: read
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x, 24.x]
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run prepare
- run: npm run build --if-present
- run: npm test