Skip to content

Commit

Permalink
Add canary action again
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jun 24, 2024
1 parent 3c58d94 commit 43b5554
Showing 1 changed file with 39 additions and 39 deletions.
78 changes: 39 additions & 39 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,42 +19,42 @@ jobs:
node:
- lts/gallium
- lts/iron
# canary:
# name: canary / ${{matrix.package}} / ${{matrix.node}} on ${{matrix.os}}
# runs-on: ${{matrix.os}}
# steps:
# - name: checkout remark
# uses: actions/checkout@v4
# - name: setup node
# uses: actions/setup-node@v4
# 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@v4
# 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:
# - node
# package:
# - remarkjs/remark-gfm
# - remarkjs/react-markdown
canary:
name: canary / ${{matrix.package}} / ${{matrix.node}} on ${{matrix.os}}
runs-on: ${{matrix.os}}
steps:
- name: checkout remark
uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v4
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@v4
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:
- node
package:
- remarkjs/remark-gfm
- remarkjs/react-markdown

0 comments on commit 43b5554

Please sign in to comment.