Skip to content

Commit

Permalink
see if the changes in ci.yml fixes ETIMEDOUT errors
Browse files Browse the repository at this point in the history
  • Loading branch information
j-paquette committed Oct 23, 2023
1 parent 1358d80 commit b636765
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ jobs:
- name: Test
run: npm test
env:
DISABLE_PROXY: true
DISABLE_PROXY: true
41 changes: 41 additions & 0 deletions .github/workflows/test-links.yml
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

0 comments on commit b636765

Please sign in to comment.