Skip to content

fix(ci): check files on yarn install #34

fix(ci): check files on yarn install

fix(ci): check files on yarn install #34

Workflow file for this run

name: Tests
on: [pull_request]
jobs:
test:
name: Test on node ${{ matrix.node }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: [18, 20, 22]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Enable Corepack
run: corepack enable
- name: Use node ${{ matrix.node }}
uses: actions/setup-node@v4
with:
cache: npm
node-version: ${{ matrix.node }}
registry-url: https://registry.npmjs.org
- run: tree . -L 2 -a
- name: Install dependencies
run: yarn install --immutable
- run: tree . -L 2 -a
- name: Build
run: yarn build
- name: Lint
run: yarn lint
- name: Test
run: yarn test