forked from enpitsuLin/skland-daily-attendance
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 使用 warp 作为代理服务来请求 (enpitsuLin#41)
- Loading branch information
1 parent
97322c2
commit 6eba4cd
Showing
8 changed files
with
2,023 additions
and
1,416 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,6 @@ jobs: | |
- name: Install pnpm | ||
uses: pnpm/action-setup@v4 | ||
with: | ||
version: 8 | ||
run_install: false | ||
|
||
- name: Get pnpm store directory | ||
|
@@ -39,6 +38,16 @@ jobs: | |
- name: Install dependencies | ||
run: pnpm install | ||
|
||
- name: Install WARP | ||
uses: enpitsuLin/[email protected] | ||
with: | ||
mode: warp+doh | ||
|
||
- name: Test WARP | ||
run: | | ||
echo "$(curl https://www.cloudflare.com/cdn-cgi/trace/)" | ||
shell: bash | ||
|
||
- name: Run daily attendance | ||
run: pnpm attendance | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,10 @@ | |
"name": "skland-daily-attendance", | ||
"type": "module", | ||
"version": "1.0.0", | ||
"packageManager": "[email protected]", | ||
"description": "", | ||
"author": "", | ||
"license": "ISC", | ||
"license": "MIT", | ||
"keywords": [], | ||
"main": "index.js", | ||
"scripts": { | ||
|
@@ -14,6 +15,8 @@ | |
}, | ||
"dependencies": { | ||
"dotenv": "^16.3.1", | ||
"ofetch": "^1.3.4", | ||
"proxy-agent": "^6.4.0", | ||
"tsx": "^4.6.0" | ||
}, | ||
"devDependencies": { | ||
|
Oops, something went wrong.