From d59a5e5a5a059f41c2e2812fa885134aafa37368 Mon Sep 17 00:00:00 2001 From: LekoArts Date: Sun, 1 Oct 2023 13:05:35 +0200 Subject: [PATCH] chore: Enable Corepack before size check --- .github/actions/pnpm-install/action.yml | 2 +- .github/workflows/size-check.yml | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/actions/pnpm-install/action.yml b/.github/actions/pnpm-install/action.yml index 41b95cb..945a645 100644 --- a/.github/actions/pnpm-install/action.yml +++ b/.github/actions/pnpm-install/action.yml @@ -22,7 +22,7 @@ runs: shell: bash run: | corepack enable - echo "corepack enabled" + echo "Corepack enabled" - uses: pnpm/action-setup@v2.4.0 if: ${{ inputs.enable-corepack == 'false' }} diff --git a/.github/workflows/size-check.yml b/.github/workflows/size-check.yml index 89f6ce1..df88f72 100644 --- a/.github/workflows/size-check.yml +++ b/.github/workflows/size-check.yml @@ -8,4 +8,13 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Install Node.js + uses: actions/setup-node@v3 + with: + node-version: 18 + - name: ⚙️ Enable Corepack + shell: bash + run: | + corepack enable + echo "Corepack enabled" - uses: preactjs/compressed-size-action@master