Skip to content

build: migrate from yarn to pnpm, remove CircleCI config #221

build: migrate from yarn to pnpm, remove CircleCI config

build: migrate from yarn to pnpm, remove CircleCI config #221

Workflow file for this run

name: CI
on:
pull_request: {}
permissions:
actions: read
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
cancel-in-progress: true
jobs:
install:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: 'pnpm'
cache-dependency-path: 'pnpm-lock.yaml'
- run: pnpm exec --frozen-lockfile --non-interactive
lint-affected:
runs-on: ubuntu-latest
needs: install
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: 'pnpm'
cache-dependency-path: 'pnpm-lock.yaml'
- run: pnpm exec --frozen-lockfile --non-interactive
- uses: nrwl/nx-set-shas@v4
- run: pnpm exec nx affected -t lint
test-affected:
runs-on: ubuntu-latest
needs: install
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: 'pnpm'
cache-dependency-path: 'pnpm-lock.yaml'
- run: pnpm exec --frozen-lockfile --non-interactive
- uses: nrwl/nx-set-shas@v4
- run: pnpm exec nx affected -t test
e2e-affected:
runs-on: ubuntu-latest
needs: install
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: 'pnpm'
cache-dependency-path: 'pnpm-lock.yaml'
- run: pnpm exec --frozen-lockfile --non-interactive
- uses: nrwl/nx-set-shas@v4
- run: pnpm exec nx affected -t e2e --exclude=docs-app
build-affected:
runs-on: ubuntu-latest
needs: install
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: 'pnpm'
cache-dependency-path: 'pnpm-lock.yaml'
- run: pnpm exec --frozen-lockfile --non-interactive
- uses: nrwl/nx-set-shas@v4
- run: pnpm exec nx affected -t build
schematics-core-check:
runs-on: ubuntu-latest
needs: install
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: 'pnpm'
cache-dependency-path: 'pnpm-lock.yaml'
- run: pnpm exec --frozen-lockfile --non-interactive
- uses: nrwl/nx-set-shas@v4
- run: pnpm exec copy:schematics
- run: pnpm exec schematics:check