feat(signals): enhance withComputed
to accept computation functions
#448
Workflow file for this run
This file contains hidden or 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: 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: npm install --global corepack@0.31.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 install --frozen-lockfile --prefer-offline | |
lint-affected: | |
runs-on: ubuntu-latest | |
needs: install | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- run: npm install --global corepack@0.31.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 install --frozen-lockfile --prefer-offline | |
- 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: npm install --global corepack@0.31.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 install --frozen-lockfile --prefer-offline | |
- uses: nrwl/nx-set-shas@v4 | |
- run: pnpm exec nx affected -t test --exclude=docs-app,www | |
e2e-affected: | |
runs-on: ubuntu-latest | |
needs: install | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- run: npm install --global corepack@0.31.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 install --frozen-lockfile --prefer-offline | |
- run: pnpm exec cypress install | |
- uses: nrwl/nx-set-shas@v4 | |
- run: pnpm exec nx affected -t e2e --exclude=docs-app,www --parallel=1 | |
build-affected: | |
runs-on: ubuntu-latest | |
needs: install | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- run: npm install --global corepack@0.31.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 install --frozen-lockfile --prefer-offline | |
- uses: nrwl/nx-set-shas@v4 | |
- run: pnpm exec nx affected -t build --exclude=docs-app,www | |
schematics-core-check: | |
runs-on: ubuntu-latest | |
needs: install | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- run: npm install --global corepack@0.31.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 install --frozen-lockfile --prefer-offline | |
- uses: nrwl/nx-set-shas@v4 | |
- run: pnpm run copy:schematics | |
- run: pnpm run schematics:check |