From 12ebc07a91821a1e731086a1f3f20043ddb2e153 Mon Sep 17 00:00:00 2001 From: Nicolas CARPi Date: Sat, 8 Jun 2024 16:31:56 +0200 Subject: [PATCH] enable corepack in gh actions --- .github/workflows/codeql-analysis.yml | 3 +++ .github/workflows/publishing.yml | 2 ++ .github/workflows/validating.yml | 7 +++++++ 3 files changed, 12 insertions(+) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 48df9b755..4da5a9c63 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -31,6 +31,9 @@ jobs: languages: ${{ matrix.language }} paths: src + - name: Enable Corepack + run: corepack enable + - name: Install dependencies run: yarn install diff --git a/.github/workflows/publishing.yml b/.github/workflows/publishing.yml index f934231df..d5506a4f5 100644 --- a/.github/workflows/publishing.yml +++ b/.github/workflows/publishing.yml @@ -14,6 +14,8 @@ jobs: node-version: '20.x' cache: 'npm' registry-url: 'https://registry.npmjs.org' + - name: Enable Corepack + run: corepack enable - name: Install dependencies run: yarn install - name: Build dist files diff --git a/.github/workflows/validating.yml b/.github/workflows/validating.yml index 36e61eac0..d24dce82a 100644 --- a/.github/workflows/validating.yml +++ b/.github/workflows/validating.yml @@ -14,12 +14,19 @@ jobs: with: node-version: ${{ matrix.node }} cache: 'npm' + + - name: Enable Corepack + run: corepack enable + - name: Install dependencies run: yarn install + - name: Build run: yarn run build + - name: Run test run: yarn run test + - uses: cypress-io/github-action@v6 with: start: yarn start-test-server