-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
see if the changes in ci.yml fixes ETIMEDOUT errors
- Loading branch information
1 parent
1358d80
commit b636765
Showing
2 changed files
with
42 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -34,4 +34,4 @@ jobs: | |
- name: Test | ||
run: npm test | ||
env: | ||
DISABLE_PROXY: true | ||
DISABLE_PROXY: true |
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: TESTLINKS | ||
|
||
on: | ||
push: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
displayName: Daily midnight build | ||
branches: | ||
include: | ||
- "master" | ||
exclude: | ||
- "dependabot/*" | ||
|
||
jobs: | ||
build: | ||
# Avoid running for pushes comming from dependabot merges (as they wouldn't alter links) | ||
# Determining this from commit message may not be ideal, but seems like the only way from the info available on push | ||
# if: github.event_name == 'schedule' || !(startsWith(github.event.head_commit.message, 'Merge pull request') && contains(github.event.head_commit.message, 'wet-boew/dependabot/')) | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: | ||
- 18.x | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: npm | ||
|
||
- name: Install dependencies | ||
run: npm ci --legacy-peer-deps | ||
|
||
- name: Test | ||
run: npm run link-check | ||
env: | ||
DISABLE_PROXY: true |