Skip to content

feat(azure-theme): bootstrap new package (#180) #704

feat(azure-theme): bootstrap new package (#180)

feat(azure-theme): bootstrap new package (#180) #704

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Derive appropriate SHAs for base and head for `nx affected` commands
uses: nrwl/nx-set-shas@v2
- uses: actions/setup-node@v3
with:
cache: 'yarn'
node-version: '18'
- run: yarn install --frozen-lockfile
- name: 'Check duplicates in yarn.lock'
run: yarn run dedupe --list --fail
- run: yarn check-dependencies
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- run: yarn nx affected --target=verify-integrity --parallel --max-parallel=3
- run: yarn nx affected --target=type-check --parallel --max-parallel=3
- run: yarn nx affected --target=build --parallel --max-parallel=3
- run: yarn nx affected --target=build-storybook --parallel --max-parallel=3
- run: yarn nx affected --target=test --parallel --max-parallel=2
- run: yarn nx affected --target=component-test --skipInstall --parallel --max-parallel=2
- run: yarn nx affected --target=lint --parallel --max-parallel=3
- run: yarn nx format:check --base origin/main
- name: 'Check for unstaged changes'
run: |
git status --porcelain
git diff-index --quiet HEAD -- || exit 1
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Derive appropriate SHAs for base and head for `nx affected` commands
uses: nrwl/nx-set-shas@v2
- uses: actions/setup-node@v3
with:
cache: 'yarn'
node-version: '18'
- run: yarn install --frozen-lockfile
- run: yarn nx affected --target=build-storybook --parallel --max-parallel=3