feat(infra): migrate to lerna 8 #13984
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: PR Checks | |
on: [pull_request] | |
jobs: | |
commit-lint: | |
runs-on: ubuntu-latest | |
concurrency: | |
group: ${{ github.ref }}-commit-lint | |
cancel-in-progress: true | |
name: Commitlint | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: wagoid/commitlint-github-action@v5 | |
lint: | |
runs-on: ubuntu-latest | |
name: Lint | |
steps: | |
- uses: actions/checkout@v4 | |
- name: lint | |
run: | | |
corepack enable | |
corepack install | |
yarn --immutable | |
yarn lint:ci | |
build: | |
runs-on: ubuntu-latest | |
concurrency: | |
group: ${{ github.ref }}-pr-build | |
cancel-in-progress: true | |
strategy: | |
matrix: | |
node-version: [18.x] | |
name: Build & Test | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
corepack enable | |
corepack install | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: yarn | |
- name: Install & Build | |
run: | | |
corepack enable | |
corepack install | |
yarn --immutable | |
- name: Test | |
run: | | |
yarn test:all -- --skip-nx-cache | |
- name: Publint | |
run: | | |
yarn publint:all | |
tsdoc-check: | |
runs-on: ubuntu-latest | |
name: Check TSDoc Links | |
concurrency: | |
group: ${{ github.ref }}-tsdoc-check | |
cancel-in-progress: true | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
corepack enable | |
corepack install | |
- uses: actions/setup-node@v4 | |
with: | |
cache: yarn | |
- name: Check TSDoc Links | |
run: npx tsdoc-link-check --patterns packages/** |