Skip to content

Commit 7ee14e3

Browse files
authored
Update deployment workflow for npm installation
Replaced npm ci with npm install and removed lock file check.
1 parent eeb8625 commit 7ee14e3

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,12 @@ jobs:
2727
uses: actions/setup-node@v4
2828
with:
2929
node-version: 22
30-
cache: npm
3130

3231
- name: Setup Pages
3332
uses: actions/configure-pages@v4
3433

35-
- name: Ensure lock file exists
36-
run: |
37-
if [ ! -f package-lock.json ]; then
38-
echo "Error: package-lock.json is missing. Run 'npm install' locally and commit the generated lock file."
39-
exit 1
40-
fi
41-
4234
- name: Install dependencies
43-
run: npm ci
35+
run: npm install
4436

4537
- name: Build with VitePress
4638
run: npm run build

0 commit comments

Comments
 (0)