Skip to content

Commit

Permalink
enable corepack before node-setup
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalets committed Jan 31, 2025
1 parent eb4908b commit 3634f53
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,17 @@ jobs:
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: corepack enable # && corepack prepare yarn@stable --activate
cache: 'yarn'

- run: yarn install --immutable
- run: yarn playwright install --with-deps
- run: yarn test
Expand Down

0 comments on commit 3634f53

Please sign in to comment.