feat: Story map chapter move #2877
Workflow file for this run
This file contains 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: build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.tool-versions' | |
cache: 'npm' | |
- name: Install Node dependencies | |
run: npm ci | |
- name: Typecheck TypeScript | |
run: npm run check-ts | |
- name: Lint JavaScript | |
run: npm run lint-js | |
- name: Lint CSS | |
run: npm run lint-css | |
- name: Check NPM module usage | |
run: npm run check-modules | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.tool-versions' | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm ci | |
- name: Run test | |
run: npm run test | |
tests-coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.tool-versions' | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm ci | |
- name: Run test | |
run: npm run test-coverage | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.tool-versions' | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm ci | |
- name: Run build | |
run: npm run build |