Skip to content

Commit 17415d8

Browse files
committed
Try another route for releasing
1 parent b5c48c2 commit 17415d8

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

.github/workflows/Deploy.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,17 @@ jobs:
99
deploy:
1010
runs-on: ubuntu-latest
1111

12+
permissions:
13+
id-token: write # Required to mint token for npm package provenance
14+
contents: write # Needed to create and write release notes in GitHub release
15+
1216
steps:
1317
- uses: actions/checkout@v2
1418
- uses: actions/setup-node@v4
1519
with:
1620
registry-url: "https://registry.npmjs.org"
1721

18-
- uses: Github-Actions-Community/merge-release@22d66d3f7750d57b2b8c05db6077205332527df8
19-
env:
20-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21-
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
22+
- uses: tobua/release-npm-action@v3
23+
with:
24+
MANUAL_TRIGGER: "regular"
25+
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

.npmignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.github
2+
.prettierrc
3+
.vscode

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
22
"name": "@puzzmo/revenue-cat-webhook-types",
33
"version": "0.0.1",
4-
"description": "TypeScript types for RevenueCat Webhooks. Hand-crafted from their docs, with JSDoc when appropriate and nullability manually added."
4+
"description": "TypeScript types for RevenueCat Webhooks. Hand-crafted from their docs, with JSDoc when appropriate and nullability manually added.",
5+
"publishConfig": {
6+
"provenance": true
7+
}
58
}

0 commit comments

Comments
 (0)