devops: fix npm publishing due to proverance #422
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: create-playwright CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [18.x, 20.x, 22.x] | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- run: npm i -g yarn@1 | |
- run: npm i -g pnpm@8 | |
- run: npm ci | |
- run: npx playwright install-deps | |
- run: npm run build | |
- run: npx tsc --noEmit | |
- run: npx playwright test --grep-invert yarn-berry | |
- run: corepack enable | |
- run: corepack prepare yarn@4 --activate | |
- run: npx playwright test --grep yarn-berry |