Skip to content

Merge branch '6299-nr-automate-releases' of github.com:department-of-… #27

Merge branch '6299-nr-automate-releases' of github.com:department-of-…

Merge branch '6299-nr-automate-releases' of github.com:department-of-… #27

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