nhsuk-react-components version 5 #676
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Build | |
on: | |
push: | |
branches: main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '18.x' | |
- name: Enable corepack | |
run: corepack enable | |
- name: Set Yarn version | |
run: yarn set version stable | |
- name: Yarn Install | |
run: yarn | |
- name: Lint | |
run: yarn lint:ci | |
- name: Jest Tests | |
run: yarn test:ci | |
- name: Typescript build | |
run: yarn build | |
- name: Storybook build | |
run: yarn build-storybook |