Skip to content

Commit da166ec

Browse files
committed
better structuring
1 parent 99acf69 commit da166ec

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/compile.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ jobs:
2929
restore-keys: |
3030
${{ runner.os }}-node-
3131
32-
- run: node ./src/index.js
33-
- run: echo generated
32+
- run: npm run build
3433

3534
- name: Deploy
3635
uses: peaceiris/actions-gh-pages@v4

src/package.json renamed to package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"doc": "docs"
77
},
88
"scripts": {
9-
"test": "echo \"Error: no test specified\" && exit 1"
9+
"build": "node ./src/index.js"
1010
},
1111
"author": "",
1212
"license": "ISC",

0 commit comments

Comments
 (0)