Skip to content

Commit 527fc15

Browse files
authored
Added npm build
1 parent 8b7a19a commit 527fc15

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/static.yml

+13
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,25 @@ jobs:
3131
steps:
3232
- name: Checkout
3333
uses: actions/checkout@v4
34+
35+
- name: Setup Node.js
36+
uses: actions/setup-node@v2
37+
with:
38+
node-version: '20'
39+
40+
- name: Install dependencies and build
41+
run: |
42+
npm install
43+
npm run build
44+
3445
- name: Setup Pages
3546
uses: actions/configure-pages@v5
47+
3648
- name: Upload artifact
3749
uses: actions/upload-pages-artifact@v3
3850
with:
3951
path: 'dist/'
52+
4053
- name: Deploy to GitHub Pages
4154
id: deployment
4255
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)