Skip to content

Commit 0d0089c

Browse files
committed
add build script
1 parent e31a220 commit 0d0089c

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/main.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
on: push
2+
name: Build
3+
jobs:
4+
build:
5+
name: Build
6+
runs-on: ubuntu-latest
7+
8+
strategy:
9+
matrix:
10+
node-version: [20.x]
11+
12+
steps:
13+
- name: Checkout Branch
14+
uses: actions/checkout@v2
15+
16+
- name: Setup Node.js environment
17+
uses: actions/[email protected]
18+
with:
19+
node-version: ${{ matrix.node-version }}
20+
21+
- run: npm install
22+
- run: npm run build
23+
24+
- name: Deploy to GitHub Pages
25+
uses: JamesIves/[email protected]
26+
with:
27+
branch: gh-pages
28+
folder: dist

0 commit comments

Comments
 (0)