diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index dede4e27aa..886f56437f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -32,6 +32,9 @@ jobs: with: node-version: ${{ matrix.node-version }} + - name: Enable Corepack + run: corepack enable + - name: Fetch Git history run: git fetch --no-tags --depth=50 origin main @@ -39,6 +42,7 @@ jobs: uses: bahmutov/npm-install@v1.10.2 with: useRollingCache: true + install-command: yarn --immutable - name: Build packages run: yarn build diff --git a/.github/workflows/commitlint.yaml b/.github/workflows/commitlint.yaml index da5ed3ff89..4811ffd337 100644 --- a/.github/workflows/commitlint.yaml +++ b/.github/workflows/commitlint.yaml @@ -18,6 +18,9 @@ jobs: with: node-version-file: '.nvmrc' + - name: Enable Corepack + run: corepack enable + - name: Fetch Git history run: git fetch --no-tags --depth=50 origin main @@ -25,6 +28,7 @@ jobs: uses: bahmutov/npm-install@v1.10.2 with: useRollingCache: true + install-command: yarn --immutable - name: Run Commitlint run: npx commitlint --color --verbose --from $(git merge-base origin/main HEAD) diff --git a/.github/workflows/component-analysis.yaml b/.github/workflows/component-analysis.yaml index f89aa1ff97..1dde437e17 100644 --- a/.github/workflows/component-analysis.yaml +++ b/.github/workflows/component-analysis.yaml @@ -20,10 +20,14 @@ jobs: with: node-version-file: '.nvmrc' + - name: Enable Corepack + run: corepack enable + - name: Install dependencies uses: bahmutov/npm-install@v1.10.2 with: useRollingCache: true + install-command: yarn --immutable - name: Analyze run: npx omlet analyze diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 712d830b2c..f3a12949ea 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -21,10 +21,14 @@ jobs: with: node-version-file: '.nvmrc' + - name: Enable Corepack + run: corepack enable + - name: Install dependencies uses: bahmutov/npm-install@v1.10.2 with: useRollingCache: true + install-command: yarn --immutable - name: Build run: yarn build diff --git a/.github/workflows/test-web-twig.yaml b/.github/workflows/test-web-twig.yaml index f50712c424..8f7f869010 100644 --- a/.github/workflows/test-web-twig.yaml +++ b/.github/workflows/test-web-twig.yaml @@ -26,10 +26,14 @@ jobs: with: node-version-file: '.nvmrc' + - name: Enable Corepack + run: corepack enable + - name: Install dependencies uses: bahmutov/npm-install@v1.10.2 with: useRollingCache: true + install-command: yarn --immutable - name: Build Icons working-directory: ./packages/icons diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 9eecce9503..d5f1658322 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -24,6 +24,9 @@ jobs: with: node-version-file: '.nvmrc' + - name: Enable Corepack + run: corepack enable + - name: Fetch Git history run: git fetch --no-tags --depth=50 origin main @@ -31,6 +34,7 @@ jobs: uses: bahmutov/npm-install@v1.10.2 with: useRollingCache: true + install-command: yarn --immutable - name: Build run: yarn build