Skip to content

Merge pull request #32 from cam-inc/fix/npm-publish-prerelease-tag #5

Merge pull request #32 from cam-inc/fix/npm-publish-prerelease-tag

Merge pull request #32 from cam-inc/fix/npm-publish-prerelease-tag #5

Workflow file for this run

name: Test
on:
push:
branches:
- develop
pull_request:
branches:
- develop
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x, 24.x]
steps:
- name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test