Skip to content

Commit 8631acf

Browse files
committed
ci: use clean install rather than lock
1 parent 4729657 commit 8631acf

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
branches: ['main']
88
paths:
99
- '2025/**'
10+
- '.github/workflows/main.yml'
1011

1112
# Allows you to run this workflow manually from the Actions tab
1213
workflow_dispatch:
@@ -37,10 +38,12 @@ jobs:
3738
with:
3839
node-version: lts/*
3940
cache: 'npm'
40-
cache-dependency-path: 2025/package-lock.json
4141

4242
- name: Install dependencies
43-
run: cd 2025 && npm ci
43+
run: |
44+
cd 2025
45+
rm -rf node_modules package-lock.json
46+
npm i
4447
4548
- name: Build
4649
run: cd 2025 && npm run build
@@ -53,7 +56,7 @@ jobs:
5356
with:
5457
# Upload dist folder
5558
path: '2025/dist'
56-
59+
5760
- name: Deploy to GitHub Pages
5861
id: deployment
5962
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)