File tree Expand file tree Collapse file tree 2 files changed +21
-6
lines changed Expand file tree Collapse file tree 2 files changed +21
-6
lines changed Original file line number Diff line number Diff line change @@ -15,13 +15,28 @@ jobs:
1515 runs-on : ubuntu-latest
1616 steps :
1717 - uses : actions/checkout@v4
18- - uses : actions/setup-node@v4
18+
19+ - name : Setup Node.js
20+ uses : actions/setup-node@v4
1921 with :
2022 node-version : " 20.x"
2123 registry-url : https://registry.npmjs.org
22- - run : |
23- npm ci
24- npm run build
25- npm publish --registry=https://registry.npmjs.org
24+ scope : " @glideapps"
25+
26+ - name : Install dependencies
27+ run : npm ci
28+
29+ - name : Build package
30+ run : npm run build
31+
32+ - name : Verify package contents
33+ run : |
34+ echo "Package name: $(npm pkg get name)"
35+ echo "Package version: $(npm pkg get version)"
36+ echo "Files to be published:"
37+ npm pack --dry-run
38+
39+ - name : Publish to NPM
40+ run : npm publish --access public
2641 env :
2742 NODE_AUTH_TOKEN : ${{secrets.GLIDE_ORG_NPM_TOKEN}}
Original file line number Diff line number Diff line change 11{
2- "name" : " vitest-v8-json-coverage-summary" ,
2+ "name" : " @glideapps/ vitest-v8-json-coverage-summary" ,
33 "version" : " 0.0.0-beta" ,
44 "description" : " A plugin for vitest that generates a coverage summary in json format" ,
55 "type" : " module" ,
You can’t perform that action at this time.
0 commit comments