Skip to content

Use corepack instead of committing a version of yarn #6770

Use corepack instead of committing a version of yarn

Use corepack instead of committing a version of yarn #6770

Workflow file for this run

name: AR Validate
on:
push:
branches:
- main
paths-ignore:
- 'dotcom-rendering/**'
pull_request:
branches:
- main
paths-ignore:
- 'dotcom-rendering/**'
jobs:
validate:
name: AR Validate
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- run: yarn --frozen-lockfile
- name: lint
run: yarn lint
working-directory: apps-rendering
- name: test
run: yarn test
working-directory: apps-rendering
- name: compile client
run: yarn build:client:prod
working-directory: apps-rendering
- name: compile server
run: yarn build:server:prod
working-directory: apps-rendering