-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
12 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 |
---|---|---|
|
@@ -15,16 +15,10 @@ jobs: | |
with: | ||
node-version: '18' | ||
|
||
# For some reason, the default registry MAY FAIL WITH ECONNRESET on GitHub Actions | ||
- name: Setup Registry | ||
continue-on-error: true | ||
- name: Npm Install | ||
run: | | ||
cd worker | ||
npm install --registry https://registry.npm.taobao.org | ||
npm install [email protected] --registry https://registry.npm.taobao.org | ||
- name: Log | ||
run: | | ||
cat `find /home/runner/.npm/_logs/` | ||
npm install | ||
- name: Deploy Workers | ||
uses: cloudflare/[email protected] | ||
|
@@ -43,11 +37,9 @@ jobs: | |
with: | ||
node-version: '18' | ||
|
||
# For some reason, the default registry MAY FAIL WITH ECONNRESET on GitHub Actions | ||
- name: Setup Registry | ||
- name: Npm Install | ||
run: | | ||
npm install --registry https://registry.npm.taobao.org | ||
npm install [email protected] --registry https://registry.npm.taobao.org | ||
npm install | ||
- name: Deploy Pages | ||
uses: cloudflare/[email protected] | ||
|