Skip to content

Commit c60a04c

Browse files
committed
[optimize] Package Lock files & CI configuration
1 parent d23b73b commit c60a04c

4 files changed

Lines changed: 75 additions & 9326 deletions

File tree

.github/workflows/main.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ jobs:
1212
- name: Use Node.js
1313
uses: actions/setup-node@v2-beta
1414
with:
15-
node-version: '14'
16-
- name: Install & build
17-
run: |
18-
npm install
19-
npm run export
15+
node-version: 14
16+
cache: yarn
17+
- name: Install
18+
run: yarn
19+
- name: Build
20+
run: yarn export
2021
- name: Deploy
2122
uses: peaceiris/actions-gh-pages@v3
2223
with:

.husky/pre-push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
. "$(dirname "$0")/_/husky.sh"
44

5-
npm run build
5+
npm run export

0 commit comments

Comments
 (0)