Skip to content

Commit a39546c

Browse files
authored
Refine check.yml (#4)
1 parent 2850e25 commit a39546c

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/check.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,14 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- uses: actions/checkout@v4
22+
- uses: actions/setup-node@v4
23+
with:
24+
node-version: '20'
25+
- run: npm ci
26+
- run: npm run build
2227
- name: Deploy to GH pages
2328
uses: peaceiris/actions-gh-pages@v4
2429
with:
2530
github_token: ${{ secrets.GITHUB_TOKEN }}
26-
publish_dir: JabMap/
31+
publish_dir: dist/
2732
force_orphan: true

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
src/jsmind/src/package-lock.json
2+
13
# Logs
24
logs
35
*.log

0 commit comments

Comments
 (0)