Skip to content

Try v3 of checkout #103

Try v3 of checkout

Try v3 of checkout #103

Workflow file for this run

#
# Code checks – linting and unit tests
#
name: 'Code Checks'
on: push
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install dependencies
run: yarn install --immutable
- name: Run eslint
run: yarn lint
unit-tests:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install dependencies
working-directory: packages/components
run: yarn install --immutable
- name: yarn test
working-directory: packages/components
run: yarn test