chore: fix legacy docs build (attempt 2) #3423
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: Lint, build, test | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
- release-** | |
pull_request: | |
branches: | |
- main | |
- develop | |
- release-** | |
- legacy | |
jobs: | |
test_repository: | |
name: Run linter, build and test all packages | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [14, 16, 18] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Run linter | |
run: yarn lint | |
- name: Build | |
run: yarn build | |
- name: Test core | |
run: yarn test:core --coverage | |
- name: Test cache | |
run: yarn test:cache --coverage | |
- name: Test CLI | |
run: yarn test:cli --coverage | |
- name: Test middleware | |
run: yarn test:middleware --coverage |