diff options
| author | Brendan F <EpicWolverine@users.noreply.github.com> | 2025-01-09 01:04:04 -0500 |
|---|---|---|
| committer | Brendan F <EpicWolverine@users.noreply.github.com> | 2025-01-09 01:05:12 -0500 |
| commit | 1cc6c7515f4f670fb42cb95cdd7bdf38a1ec9e35 (patch) | |
| tree | 64ed90dc72be38ea5692753676e657c68e968bcc /.github | |
| parent | 5493ec11afb24d758b1d4ad3c4f1736a2c9485e7 (diff) | |
Try this solution for yarn2/corepack
https://github.com/actions/setup-node/issues/480#issuecomment-1915448139
Diffstat (limited to '.github')
| -rw-r--r-- | .github/actions/build/action.yml | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml index 64d5129..e4e161f 100644 --- a/.github/actions/build/action.yml +++ b/.github/actions/build/action.yml @@ -2,21 +2,17 @@ name: Build Website runs: using: "composite" steps: + - name: Enable Corepack + shell: bash + run: corepack enable - name: Set Node.js uses: actions/setup-node@v4 with: node-version: 20.x cache: 'yarn' - - name: Set up Yarn2 + - name: Install dependencies shell: bash - run: | - corepack enable - yarn set version berry - - name: Run install - uses: borales/actions-yarn@v5 - with: - cmd: install # will run `yarn install` command - - name: Build production bundle - uses: borales/actions-yarn@v5 - with: - cmd: build + run: yarn install --immutable + - name: Run build + shell: bash + run: yarn build |
