feat: add star count for each plugin #247
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |