Skip to content

Commit 4af553f

Browse files
authored
Update deploy.yml
1 parent f96ecbd commit 4af553f

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,23 @@ on:
55
branches:
66
- main
77
# Review gh actions docs if you want to further define triggers, paths, etc
8+
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
89

910
jobs:
1011
build:
1112
name: Build CodeHarborHub
12-
permissions:
13-
contents: read
1413
runs-on: ubuntu-latest
1514
steps:
1615
- uses: actions/checkout@v4
1716
with:
1817
fetch-depth: 0
1918
- uses: actions/setup-node@v4
2019
with:
21-
node-version: 18
20+
node-version: 20
2221
cache: npm
2322

2423
- name: Install dependencies
25-
run: npm install --frozen-lockfile
24+
run: npm ci
2625
- name: Build website
2726
run: npm run build
2827

0 commit comments

Comments
 (0)