Skip to content

Commit 5730ad2

Browse files
Add canary workflow
Closes GH-958. Reviewed-by: Titus Wormer <tituswormer@gmail.com>
1 parent 5fcde5d commit 5730ad2

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,42 @@ jobs:
2020
node:
2121
- lts/erbium
2222
- node
23+
canary:
24+
name: canary / ${{matrix.package}} / ${{matrix.node}} on ${{matrix.os}}
25+
runs-on: ${{matrix.os}}
26+
steps:
27+
- name: checkout remark
28+
uses: actions/checkout@v2
29+
- name: setup node
30+
uses: dcodeIO/setup-node-nvm@master
31+
with:
32+
node-version: ${{matrix.node}}
33+
- name: setup remark
34+
run: |
35+
npm install -g npm
36+
npm install
37+
npm run build
38+
- name: checkout ${{matrix.package}}
39+
uses: actions/checkout@v2
40+
with:
41+
repository: ${{matrix.package}}
42+
path: canary/${{matrix.package}}
43+
- name: test ${{matrix.package}}
44+
run: |
45+
npm install
46+
for package in $(ls ../../packages); do
47+
npx rimraf "node_modules/**/$package"
48+
done
49+
npm test
50+
working-directory: canary/${{matrix.package}}
51+
strategy:
52+
fail-fast: false
53+
max-parallel: 2
54+
matrix:
55+
os:
56+
- ubuntu-latest
57+
node:
58+
- lts/gallium
59+
package:
60+
- remarkjs/remark-gfm
61+
- remarkjs/react-markdown

0 commit comments

Comments
 (0)