Skip to content

nhsuk-react-components version 5 #676

nhsuk-react-components version 5

nhsuk-react-components version 5 #676

Workflow file for this run

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