File tree 2 files changed +10
-11
lines changed
2 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 81
81
82
82
check_release :
83
83
runs-on : ubuntu-latest
84
+ strategy :
85
+ matrix :
86
+ group : [check_release, link_check]
84
87
steps :
85
88
- name : Checkout
86
89
uses : actions/checkout@v2
@@ -130,26 +133,21 @@ jobs:
130
133
restore-keys : |
131
134
${{ runner.os }}-yarn-
132
135
133
- - name : Install dependencies
134
- shell : bash
135
- run : |
136
- set -eux
137
- npm install -g yarn
138
- yarn
139
-
140
136
- name : Cache checked links
137
+ if : ${{ matrix.group == 'link_check' }}
141
138
uses : actions/cache@v2
142
139
with :
143
140
path : ~/.cache/pytest-link-check
144
141
key : ${{ runner.os }}-linkcheck-${{ hashFiles('**/*.md') }}-md-links
145
142
restore-keys : |
146
143
${{ runner.os }}-linkcheck-
147
144
148
- - name : Install Dependencies
149
- run : |
150
- yarn
151
-
152
145
- name : Check Release
146
+ if : ${{ matrix.group == 'check_release' }}
153
147
uses : jupyter-server/jupyter_releaser/.github/actions/check-release@v1
154
148
with :
155
149
token : ${{ secrets.GITHUB_TOKEN }}
150
+
151
+ - name : Run Link Check
152
+ if : ${{ matrix.group == 'link_check' }}
153
+ uses : jupyter-server/jupyter_releaser/.github/actions/check-links@v1
Original file line number Diff line number Diff line change 38
38
"typedoc" : " ~0.15.0"
39
39
},
40
40
"jupyter-releaser" : {
41
+ "skip" : [" check-links" ],
41
42
"options" : {
42
43
"ignore-links" : [
43
44
" ./api/index.html"
You can’t perform that action at this time.
0 commit comments