Skip to content

Set the correct path for Yarn cache #162

Set the correct path for Yarn cache

Set the correct path for Yarn cache #162

Workflow file for this run

name: Library
on:
push:
branches:
- '**'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Lint Check
run: |
yarn lint
(cd TestApp;yarn lint)
- name: Format Check
run: |
yarn prettier
(cd TestApp;yarn prettier)
- name: Typecheck files
run: yarn typecheck
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Run unit tests
run: yarn test --maxWorkers=2 --coverage
build-library:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Build package
run: yarn prepack