v0.76.1 #553
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: Integrate | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- "*" | |
concurrency: | |
group: integrate-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: Build | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
node: [20] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: | |
yarn | |
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication | |
- run: > | |
yarn config set | |
npmScopes.siteimprove.npmAuthToken | |
${{ secrets.GITHUB_TOKEN }} | |
- run: yarn install --immutable | |
- name: Install Playwright browsers | |
# https://playwright.dev/docs/ci-intro | |
run: yarn workspace @siteimprove/alfa-playwright playwright install | |
- run: yarn dedupe --check | |
- run: yarn build --quiet | |
- run: yarn test | |
- run: yarn test:other | |
- run: yarn validate-structure | |
- run: yarn extract --quiet | |
- run: yarn knip |