Skip to content

chore: upgrade packages #51

chore: upgrade packages

chore: upgrade packages #51

Workflow file for this run

name: Test
on:
push: {}
jobs:
tests:
strategy:
matrix:
step:
- name: Lint
command: yarn lint
- name: Typecheck
command: yarn typecheck
- name: Unit tests
command: yarn unit-tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Get Yarn cache directory
id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
- name: Use Yarn Cache
uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: yarn-cache-${{ hashFiles('yarn.lock', '.yarnrc.yml') }}
restore-keys: yarn-cache-
- name: Install dependencies
run: yarn install --immutable
- name: ${{ matrix.step.name }}
run: ${{ matrix.step.command }}