Skip to content

Commit

Permalink
Add canary workflow
Browse files Browse the repository at this point in the history
Closes GH-958.

Reviewed-by: Titus Wormer <tituswormer@gmail.com>
  • Loading branch information
ChristianMurphy authored Feb 25, 2022
1 parent 5fcde5d commit 5730ad2
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,42 @@ jobs:
node:
- lts/erbium
- node
canary:
name: canary / ${{matrix.package}} / ${{matrix.node}} on ${{matrix.os}}
runs-on: ${{matrix.os}}
steps:
- name: checkout remark
uses: actions/checkout@v2
- name: setup node
uses: dcodeIO/setup-node-nvm@master
with:
node-version: ${{matrix.node}}
- name: setup remark
run: |
npm install -g npm
npm install
npm run build
- name: checkout ${{matrix.package}}
uses: actions/checkout@v2
with:
repository: ${{matrix.package}}
path: canary/${{matrix.package}}
- name: test ${{matrix.package}}
run: |
npm install
for package in $(ls ../../packages); do
npx rimraf "node_modules/**/$package"
done
npm test
working-directory: canary/${{matrix.package}}
strategy:
fail-fast: false
max-parallel: 2
matrix:
os:
- ubuntu-latest
node:
- lts/gallium
package:
- remarkjs/remark-gfm
- remarkjs/react-markdown

0 comments on commit 5730ad2

Please sign in to comment.