Dynamic hashing #393
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
workflow_dispatch: {} | |
jobs: | |
test: | |
timeout-minutes: 30 | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: true | |
matrix: | |
node: [22] | |
os: [ubuntu-latest] | |
steps: | |
- name: Set up NodeJS | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Git checkout | |
uses: actions/checkout@v4 | |
- name: NPM ci, build, & test | |
run: | | |
npm ci | |
npm run build --if-present | |
npm test | |
npm run examples | |
env: | |
CI: true |