Skip to content

Commit 7762fa9

Browse files
committed
fix: 🛂 maybe fix npm auth
1 parent 79e8508 commit 7762fa9

File tree

2 files changed

+21
-6
lines changed

2 files changed

+21
-6
lines changed

.github/workflows/release.yml

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff 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}}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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",

0 commit comments

Comments
 (0)