Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
beeequeue committed Jul 4, 2024
1 parent 5e9eca5 commit b02b4cd
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,27 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 22

- run: corepack enable

- name: find pnpm cache path
id: cache
run: echo "path=$(pnpm store path)" >> $GITHUB_OUTPUT

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ${{ steps.cache.outputs.path }}
key: v1-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
v1-pnpm-
v1-pnpm-
- run: pnpm i
- name: Install dependencies
run: pnpm install --frozen-lockfile

- run: 'for i in {1..12}; do AMOUNT="$i" pnpm rspack build --mode production; done'
env:
Expand Down

0 comments on commit b02b4cd

Please sign in to comment.