Skip to content

fix CI 1

fix CI 1 #97

Workflow file for this run

name: ci
on:
push:
release:
types:
- published
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['18.18.0', '20.5.1']
steps:
- uses: actions/checkout@v3
- uses: 'volta-cli/action@v4'
with:
node-version: '${{ matrix.node-version }}'
yarn-version: '1.22.19'
- uses: actions/cache@v3
id: cache
with:
path: node_modules
key: ${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
registry-url: https://registry.npmjs.org/
- if: steps.cache.outputs.cache-hit != 'true'
run: npm ci
- run: npm test