Skip to content

build: switch to yarn #112

build: switch to yarn

build: switch to yarn #112

Workflow file for this run

name: build
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node_version: [18, 20]
steps:
- uses: actions/checkout@v4
with:
# pulls all commits (needed for lerna to correctly version)
# see https://stackoverflow.com/a/60184319/9285308 & https://github.com/actions/checkout
fetch-depth: "0"
- uses: actions/setup-node@v4
with:
node-version: "${{ matrix.node_version }}"
cache: yarn
- name: Install dependencies
run: yarn
- name: Test
run: yarn test