chore(breadcrumbs): add structured data #1015
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: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
# No GITHUB_TOKEN permissions, as we don't use it. | |
permissions: {} | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
cache: npm | |
node-version-file: ".nvmrc" | |
- name: Install | |
run: npm ci | |
- name: Run prettier | |
run: npx prettier --check . || (exit_code=$? && npx prettier --write . && git diff --color && exit $exit_code) | |
- name: Run ESLint | |
run: npx eslint . | |
- name: Run stylelint | |
run: npx stylelint '**/*.css' || (exit_code=$? && (npx stylelint --fix '**/*.css' || true) && git diff --color && exit $exit_code) | |
- name: Run tsc | |
run: npx tsc --noEmit | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
cache: npm | |
node-version-file: ".nvmrc" | |
- name: Install | |
run: npm ci | |
- name: Build | |
run: npm run build |