Skip to content

Refactor another @import #241

Refactor another @import

Refactor another @import #241

Workflow file for this run

jobs:
canary:
name: canary / ${{matrix.package}}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: node
- run: npm install
- run: npm run build
- uses: actions/checkout@v4
with:
path: canary/${{matrix.package}}
repository: ${{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:
package:
- remarkjs/react-markdown
- remarkjs/remark-gfm
main:
name: ${{matrix.node}}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{matrix.node}}
- run: npm install
- run: npm test
- uses: codecov/codecov-action@v4
strategy:
matrix:
node:
- lts/hydrogen
- node
name: main
on:
- pull_request
- push