Update react-router monorepo to v6.23.1 #425
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: 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 |