Skip to content

Commit dce84bf

Browse files
committed
Change nextjs workflow
1 parent 8a41eb2 commit dce84bf

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/nextjs.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,13 @@ jobs:
4949
exit 1
5050
fi
5151
- name: Setup Node
52-
uses: actions/setup-node@v4
53-
with:
54-
node-version: "20"
55-
cache: ${{ steps.detect-package-manager.outputs.manager }}
52+
- uses: actions/setup-node@v4
53+
with:
54+
node-version: 20
55+
cache: 'npm'
56+
cache-dependency-path: package-lock.json
57+
- run: npm ci
58+
- run: npm run build
5659
- name: Setup Pages
5760
uses: actions/configure-pages@v5
5861
with:

0 commit comments

Comments
 (0)