Skip to content

Commit e782bf4

Browse files
committed
[add] a new Democracy post
[optimize] replace Yarn v1 with NPM v9 to fix a Dependency bug [optimize] update Upstream packages
1 parent 6d4eadf commit e782bf4

File tree

8 files changed

+13316
-5924
lines changed

8 files changed

+13316
-5924
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ jobs:
77
Build-and-Deploy:
88
runs-on: ubuntu-latest
99
steps:
10-
- name: Checkout
11-
uses: actions/checkout@v2
12-
- name: Use Node.js
13-
uses: actions/setup-node@v2
10+
- uses: actions/checkout@v3
11+
12+
- uses: actions/setup-node@v3
1413
with:
15-
node-version: 14
16-
cache: yarn
17-
- name: Install & build
18-
run: yarn && yarn build
19-
- name: Deploy
14+
node-version: 16
15+
cache: npm
16+
- name: Install & Build
17+
run: npm i && npm run build
18+
19+
- name: Deploy Web-site
2020
uses: peaceiris/actions-gh-pages@v3
2121
with:
2222
publish_dir: ./public

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Thumbs.db
44
db.json
55
*.log
66
node_modules/
7-
package-lock.json
7+
yarn.lock
88
public/
99
.deploy*/
1010
resume.json

0 commit comments

Comments
 (0)