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:
15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- uses : actions/checkout@v4
18
- - uses : actions/setup-node@v4
18
+
19
+ - name : Setup Node.js
20
+ uses : actions/setup-node@v4
19
21
with :
20
22
node-version : " 20.x"
21
23
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
26
41
env :
27
42
NODE_AUTH_TOKEN : ${{secrets.GLIDE_ORG_NPM_TOKEN}}
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " vitest-v8-json-coverage-summary" ,
2
+ "name" : " @glideapps/ vitest-v8-json-coverage-summary" ,
3
3
"version" : " 0.0.0-beta" ,
4
4
"description" : " A plugin for vitest that generates a coverage summary in json format" ,
5
5
"type" : " module" ,
You can’t perform that action at this time.
0 commit comments