Skip to content

Commit

Permalink
test: run corepack enable in CI
Browse files Browse the repository at this point in the history
Haven't tried it yet, but I'd expect that we'd need this.

See:

- actions/setup-node#480
  • Loading branch information
wincent committed Aug 30, 2023
1 parent 8404e51 commit 0027238
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: corepack enable
run: corepack enable
- name: yarn
run: yarn --immutable --immutable-cache --check-cache

Expand All @@ -32,6 +34,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: corepack enable
run: corepack enable
- name: yarn
run: yarn --immutable --immutable-cache
- name: yarn format:check
Expand All @@ -48,6 +52,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: corepack enable
run: corepack enable
- name: yarn
run: yarn --immutable --immutable-cache
- name: yarn lint
Expand All @@ -64,6 +70,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: corepack enable
run: corepack enable
- name: yarn
run: yarn --immutable --immutable-cache
- name: yarn build
Expand All @@ -80,6 +88,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: corepack enable
run: corepack enable
- name: yarn
run: yarn --immutable --immutable-cache
- name: yarn build
Expand Down

0 comments on commit 0027238

Please sign in to comment.