Skip to content

Commit 47af331

Browse files
committed
Fix publish
1 parent 1bb33a3 commit 47af331

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/release.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@ on:
22
push:
33
tags:
44
- "v*.*.*"
5+
workflow_dispatch:
56

67
jobs:
78
publish:
89
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
id-token: write
913
steps:
1014
- uses: actions/checkout@v3
1115
- uses: actions/setup-python@v5
@@ -14,8 +18,10 @@ jobs:
1418
- uses: actions/setup-node@v4
1519
with:
1620
node-version: 18
21+
registry-url: 'https://registry.npmjs.org'
1722
- run: npm install
1823
- run: npm test
1924
- uses: JS-DevTools/npm-publish@v2
2025
with:
2126
token: ${{ secrets.NPM_TOKEN }}
27+
provenance: true

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"repository": {
1616
"type": "git",
17-
"url": "https://github.com/dnicolson/ios-wallpaper-extractor"
17+
"url": "git+https://github.com/dnicolson/ios-wallpaper-extractor.git"
1818
},
1919
"license": "MIT",
2020
"author": "Dave Nicolson <david.nicolson@gmail.com>",

0 commit comments

Comments
 (0)