File tree Expand file tree Collapse file tree 4 files changed +3344
-129
lines changed Expand file tree Collapse file tree 4 files changed +3344
-129
lines changed Original file line number Diff line number Diff line change 11name : Node.js CI
2+
23' on ' :
34 push :
45 branches :
@@ -9,10 +10,35 @@ name: Node.js CI
910 types :
1011 - opened
1112 - synchronize
13+
1214env :
1315 FORCE_COLOR : 1
1416 NPM_CONFIG_COLOR : always
17+
18+ permissions :
19+ contents : read
20+
1521jobs :
22+ verify-matrix :
23+ runs-on : ubuntu-latest
24+ strategy :
25+ matrix :
26+ node :
27+ - 18.19.0
28+ - 20.9.0
29+ - 22.11.0
30+ - 23
31+ steps :
32+ 33+ - name : Setup node
34+ 35+ with :
36+ cache : npm
37+ node-version : ${{ matrix.node }}
38+ - run : npm clean-install
39+ - run : npm install --global corepack@latest
40+ - run : corepack npm audit signatures
41+ - run : npm test
1642 verify :
1743 runs-on : ubuntu-latest
1844 steps :
2854 release :
2955 needs :
3056 - verify
57+ - verify-matrix
58+ permissions :
59+ contents : write
60+ id-token : write
61+ issues : write
62+ pull-requests : write
3163 uses : form8ion/.github/.github/workflows/release-package.yml@master
3264 secrets :
3365 NPM_TOKEN : ${{ secrets.NPM_PUBLISH_TOKEN }}
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ opinionated scaffolder for [remark](https://github.com/remarkjs/remark) [plugins
2626[ ![ MIT license] [ license-badge ]] [ license-link ]
2727[ ![ npm] [ npm-badge ]] [ npm-link ]
2828[ ![ Try @form8ion/remark-plugin-scaffolder on RunKit] [ runkit-badge ]] [ runkit-link ]
29+ ![ node] [ node-badge ]
2930
3031<!-- consumer-badges end -->
3132
@@ -114,3 +115,5 @@ $ npm test
114115[ github-actions-ci-link ] : https://github.com/form8ion/remark-plugin-scaffolder/actions?query=workflow%3A%22Node.js+CI%22+branch%3Amaster
115116
116117[ github-actions-ci-badge ] : https://github.com/form8ion/remark-plugin-scaffolder/workflows/Node.js%20CI/badge.svg
118+
119+ [ node-badge ] : https://img.shields.io/node/v/@form8ion/remark-plugin-scaffolder?logo=node.js
You can’t perform that action at this time.
0 commit comments