Merge pull request #65 from Beaglefoot/dependabot/npm_and_yarn/microm… #197
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: tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: true | |
matrix: | |
# windows-latest is broken due to some security patches | |
# https://github.com/prebuild/node-gyp-build/issues/68 | |
os: [ubuntu-latest, macOS-latest] | |
node: [20, 21] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: yarn | |
cache-dependency-path: '**/yarn.lock' | |
- run: yarn install --frozen-lockfile | |
- run: yarn test:ci |