Scopefull article #531
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: CI | |
on: [pull_request, push] | |
jobs: | |
code: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'pnpm' | |
- run: pnpm install --frozen-lockfile | |
- run: pnpm run format:check | |
- run: pnpm run -r build | |
- run: pnpm run -r test:run | |
pkg: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'pnpm' | |
- run: pnpm install --frozen-lockfile | |
- run: pnpm run -r build | |
- run: pnpm run -r size | |
- run: pnpm run -r publint | |
- run: pnpm run -r typelint | |
e2e: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'pnpm' | |
- run: pnpm install --frozen-lockfile | |
- run: pnpm playwright install | |
- run: pnpm run -r build | |
- run: pnpm run -r e2e | |
code_old_versions: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
version: [22] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'pnpm' | |
- run: node ./tools/other-majors/prepare.mjs ${{ matrix.version }} | |
- run: pnpm install --no-frozen-lockfile | |
- run: pnpm run -r build | |
- run: pnpm run -r test:run | |
e2e_old_versions: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
version: [22] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'pnpm' | |
- run: pnpm install --frozen-lockfile | |
- run: node ./tools/other-majors/prepare.mjs ${{ matrix.version }} | |
- run: pnpm install --no-frozen-lockfile | |
- run: pnpm playwright install | |
- run: pnpm run -r build | |
- run: pnpm run -r e2e |