aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrendan F <EpicWolverine@users.noreply.github.com>2025-01-09 01:04:04 -0500
committerBrendan F <EpicWolverine@users.noreply.github.com>2025-01-09 01:05:12 -0500
commit1cc6c7515f4f670fb42cb95cdd7bdf38a1ec9e35 (patch)
tree64ed90dc72be38ea5692753676e657c68e968bcc
parent5493ec11afb24d758b1d4ad3c4f1736a2c9485e7 (diff)
Try this solution for yarn2/corepack
https://github.com/actions/setup-node/issues/480#issuecomment-1915448139
-rw-r--r--.github/actions/build/action.yml20
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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage