Skip to content

enable corepack before node-setup #160

enable corepack before node-setup

enable corepack before node-setup #160

Workflow file for this run

name: test
on:
push:
jobs:
test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
# Enable corepack for yarn.
# Has to be run before actions/setup-node.
# See: https://github.com/actions/setup-node/issues/480
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- run: yarn install --immutable
- run: yarn playwright install --with-deps
- run: yarn test
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-artifacts
path: |
playwright-report/
test-results/
retention-days: 10