Skip to content

Commit 942b069

Browse files
authored
Fix: Add pnpm install --no-frozen-lockfile to CI (#13)
1 parent da9108c commit 942b069

File tree

3 files changed

+502
-2360
lines changed

3 files changed

+502
-2360
lines changed

.github/workflows/deploy-to-github-pages.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,8 @@ jobs:
4040
with:
4141
version: 8
4242
run_install: false
43-
- name: Get pnpm store directory
44-
shell: bash
45-
run: |
46-
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
47-
- name: Setup pnpm cache
48-
uses: actions/cache@v3
49-
with:
50-
path: ${{ env.STORE_PATH }}
51-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
52-
restore-keys: |
53-
${{ runner.os }}-pnpm-store-
5443
- name: Install dependencies
55-
run: pnpm install
44+
run: pnpm install --no-frozen-lockfile
5645
- name: Build
5746
run: pnpm run build
5847
- name: Setup Pages

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
"@giscus/react": "^2.3.0",
2323
"@mdx-js/react": "^3.0.0",
2424
"clsx": "^1.2.1",
25-
"prism-react-renderer": "^2.1.0",
26-
"react": "^18.0.0",
27-
"react-dom": "^18.0.0"
25+
"prism-react-renderer": "^2.3.0",
26+
"react": "^18.2.0",
27+
"react-dom": "^18.2.0"
2828
},
2929
"devDependencies": {
3030
"@docusaurus/module-type-aliases": "3.0.0",

0 commit comments

Comments
 (0)