Skip to content

docs(signals): add testing guide (#4461) #6

docs(signals): add testing guide (#4461)

docs(signals): add testing guide (#4461) #6

Workflow file for this run

name: main
on:
push:
branches:
- main
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
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'yarn'
cache-dependency-path: 'yarn.lock'
- run: yarn --frozen-lockfile --non-interactive
lint:
runs-on: ubuntu-latest
needs: install
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'yarn'
cache-dependency-path: 'yarn.lock'
- run: yarn --frozen-lockfile --non-interactive
- uses: nrwl/nx-set-shas@v4
- run: yarn nx run-many -t lint
test:
runs-on: ubuntu-latest
needs: install
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'yarn'
cache-dependency-path: 'yarn.lock'
- run: yarn --frozen-lockfile --non-interactive
- uses: nrwl/nx-set-shas@v4
- run: yarn nx run-many -t test
e2e:
runs-on: ubuntu-latest
needs: install
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'yarn'
cache-dependency-path: 'yarn.lock'
- run: yarn --frozen-lockfile --non-interactive
- uses: nrwl/nx-set-shas@v4
- run: yarn nx run-many -t e2e --exclude=docs-app
build:
runs-on: ubuntu-latest
needs: install
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'yarn'
cache-dependency-path: 'yarn.lock'
- run: yarn --frozen-lockfile --non-interactive
- uses: nrwl/nx-set-shas@v4
- run: yarn build
schematics-core-check:
runs-on: ubuntu-latest
needs: install
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'yarn'
cache-dependency-path: 'yarn.lock'
- run: yarn --frozen-lockfile --non-interactive
- uses: nrwl/nx-set-shas@v4
- run: yarn copy:schematics
- run: yarn schematics:check