Skip to content

Commit da83d1d

Browse files
authored
Modify pnpm install command in GitHub Actions workflow
Updated the pnpm install command to include --no-frozen-lockfile option.
1 parent 85932c2 commit da83d1d

1 file changed

Lines changed: 2 additions & 14 deletions

File tree

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,38 @@
11
name: Deploy Astro to GitHub Pages
2-
32
on:
43
push:
54
branches:
65
- main
7-
86
# Allows running manually from the Actions tab
97
workflow_dispatch:
10-
118
permissions:
129
contents: read
1310
pages: write
1411
id-token: write
15-
1612
jobs:
1713
deploy:
1814
runs-on: ubuntu-latest
19-
2015
steps:
2116
- name: Checkout repository
2217
uses: actions/checkout@v4
23-
2418
- uses: pnpm/action-setup@v4
2519
name: Install pnpm
2620
with:
2721
run_install: false
28-
2922
- name: Install Node.js
3023
uses: actions/setup-node@v4
3124
with:
3225
node-version: 22
3326
cache: 'pnpm'
34-
3527
- name: Install dependencies
36-
run: pnpm install
37-
28+
run: pnpm install --no-frozen-lockfile
3829
- name: Build project
3930
run: pnpm build
40-
4131
- name: Setup Pages
4232
uses: actions/configure-pages@v4
43-
4433
- name: Upload artifact
4534
uses: actions/upload-pages-artifact@v3
4635
with:
4736
path: dist
48-
4937
- name: Deploy to GitHub Pages
50-
uses: actions/deploy-pages@v4
38+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)