esm for crwa wip #4
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: π² CRWA | ||
on: | ||
pull_request: | ||
push: | ||
branches: ['next', 'release/**'] | ||
# Cancel in-progress runs of this workflow. | ||
# See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-only-cancel-in-progress-jobs-or-runs-for-the-current-workflow. | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
env: | ||
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} | ||
jobs: | ||
build-lint-test: | ||
needs: check | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest] | ||
name: π Build, lint, test / ${{ matrix.os }} / node 18 latest | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: β¬’ Enable Corepack | ||
run: corepack enable | ||
- name: β¬’ Set up Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
- name: β¬’ Enable Corepack | ||
run: corepack enable | ||
- name: π Set up yarn cache | ||
uses: ./.github/actions/set-up-yarn-cache | ||
- name: π Yarn install | ||
run: yarn install --inline-builds | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
- name: ποΈ Build | ||
run: yarn build | ||
- name: π² CRWA | ||
run: yarn test-ci ${{ steps.cpu-cores.outputs.count }} |