Skip to content

refactor: use yarn for build workflow #82

refactor: use yarn for build workflow

refactor: use yarn for build workflow #82

Workflow file for this run

name: Test
on:
push:
branches: [ main ]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js with Yarn cache
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Type check
run: yarn tsc --noEmit
- name: Lint
run: yarn lint
- name: Run tests
run: yarn test