diff options
| -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 |
