Skip to content

Commit 9630c7d

Browse files
committed
maint: simplify github action workflow
1 parent 5d83d6d commit 9630c7d

File tree

3 files changed

+10
-35
lines changed

3 files changed

+10
-35
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,12 @@ jobs:
1919
node-version: 20.18.0
2020
cache: "npm"
2121

22-
- name: Update npm to required version
23-
run: npm install -g npm@10.8.2
24-
2522
- name: Install dependencies
2623
run: npm ci
2724

2825
- name: Build project
2926
run: npm run build
30-
31-
- name: Upload build artifacts
32-
uses: actions/upload-artifact@v4
33-
with:
34-
name: build-output
35-
path: |
36-
dist/
37-
node_modules/
38-
retention-days: 1
39-
27+
4028
test:
4129
name: Test Project
4230
needs: setup
@@ -45,14 +33,6 @@ jobs:
4533
- name: Checkout repository
4634
uses: actions/checkout@v3
4735

48-
- name: Setup Node.js 20.18.0
49-
uses: actions/setup-node@v3
50-
with:
51-
node-version: 20.18.0
52-
53-
- name: Update npm to required version
54-
run: npm install -g npm@10.8.2
55-
5636
- name: Setup Deno 2.4.x
5737
uses: denoland/setup-deno@v1
5838
with:
@@ -63,11 +43,6 @@ jobs:
6343
with:
6444
bun-version: 1.2.x
6545

66-
- name: Download build artifacts
67-
uses: actions/download-artifact@v3
68-
with:
69-
name: build-output
70-
7146
- name: Run tests
7247
id: test
7348
run: npm test

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"author": {
2323
"name": "Modesty Zhang",
2424
"email": "modestyz@hotmail.com",
25-
"url": "http://www.codeproject.com/script/Articles/MemberArticles.aspx?amid=62372"
25+
"url": "https://www.google.com/search?q=modesty+zhang+site%3Acodeproject.com"
2626
},
2727
"homepage": "https://github.com/modesty/pdf2json",
2828
"repository": {
@@ -62,7 +62,7 @@
6262
"devEngines": {
6363
"packageManager": {
6464
"name": "npm",
65-
"version": ">=10.8.2"
65+
"version": ">=10.2.3"
6666
}
6767
},
6868
"type": "module",
@@ -74,7 +74,7 @@
7474
"bundleDependencies": [
7575
],
7676
"devDependencies": {
77-
"typescript": "5.8.3",
77+
"typescript": "5.9.2",
7878
"rollup": "^4.46.2",
7979
"eslint": "^9.33.0",
8080
"jest": "^30.0.5",
@@ -90,12 +90,12 @@
9090
"@rollup/plugin-typescript": "^12.1.4"
9191
},
9292
"resolutions": {
93-
"typescript": "5.8.3"
93+
"typescript": "5.9.2"
9494
},
9595
"maintainers": [{
9696
"name": "Modesty Zhang",
9797
"email": "modestyz@hotmail.com",
98-
"url": "http://www.codeproject.com/script/Articles/MemberArticles.aspx?amid=62372"
98+
"url": "https://www.google.com/search?q=modesty+zhang+site%3Acodeproject.com"
9999
}
100100
],
101101
"contributors": [],

0 commit comments

Comments
 (0)