From 0027238d8c09ad4be8fd8469f3ca29609df9407e Mon Sep 17 00:00:00 2001 From: Greg Hurrell Date: Wed, 30 Aug 2023 22:36:59 +0200 Subject: [PATCH] test: run `corepack enable` in CI Haven't tried it yet, but I'd expect that we'd need this. See: - https://github.com/actions/setup-node/issues/480 --- .github/workflows/ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b60e2d0a..3d1e7fb5d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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