Skip to content

Update react-router monorepo to v6.23.1 #425

Update react-router monorepo to v6.23.1

Update react-router monorepo to v6.23.1 #425

Workflow file for this run

name: Build
on:
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
env:
CI: true
NODE_OPTIONS: --max-old-space-size=4096
steps:
- uses: actions/checkout@v3
# Beginning of yarn setup, keep in sync between all workflows, see ci.yml
- name: use node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/ # Needed for auth
- name: yarn install
uses: backstage/actions/yarn-install@v0.5.5
with:
cache-prefix: ${{ runner.os }}-v${{ matrix.node-version }}
# End of yarn setup
- name: setup dummy credentials file
run: touch github-app-backstage-hmcts-credentials.yaml
- name: lint
run: yarn lerna run lint
- name: type checking and declarations
run: yarn tsc --incremental false
- name: build
run: yarn build
- name: test
run: yarn lerna run test -- --coverage