Skip to content

Commit af35829

Browse files
committed
fix(cicd): add new pnpm step into deploy workflow
1 parent b90e2da commit af35829

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,23 @@ jobs:
88
runs-on: ubuntu-latest
99
timeout-minutes: 20
1010
steps:
11+
- uses: pnpm/action-setup@v2
12+
with:
13+
version: 8.9.2
14+
- uses: actions/setup-node@v3
15+
with:
16+
node-version: '14'
17+
cache: 'pnpm'
1118
- name: Checkout
1219
uses: actions/checkout@v3
1320
- name: 'Create env file'
1421
run: |
1522
echo "${{ secrets.ENV_FILE }}" > .env
1623
echo "${{ secrets.ENV_LOCAL_FILE }}" > .env.prod
1724
- name: Clean
18-
run: sudo pnpm i
25+
run: pnpm ci
1926
- name: Build
20-
run: sudo pnpm run build
27+
run: pnpm run build
2128
- name: Run
2229
run: sudo pnpm run build.storybook
2330
- name: Upload static files

0 commit comments

Comments
 (0)