Skip to content

Update yarn and dependencies #134

Update yarn and dependencies

Update yarn and dependencies #134

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
check:
runs-on: ubuntu-22.04
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Corepack
run: |
corepack enable
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'yarn'
cache-dependency-path: 'yarn.lock'
- name: Set up yarn
run: |
yarn --immutable
- name: Format
run: |
yarn format
- name: Lint
run: |
yarn lint
- name: Test
run: |
yarn workspaces foreach --all --exclude . run test run
- name: Build packages
run: |
yarn workspaces foreach --all --exclude . run build &&
yarn workspaces foreach --all --exclude . pack