Skip to content

Commit 1cbcb00

Browse files
committed
fix: testing ci
1 parent c223fc0 commit 1cbcb00

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@ name: Publish
33
on:
44
workflow_dispatch:
55
release:
6-
types: [created]
6+
types: [published]
77

88
permissions:
9-
contents: write # Needed to push to gh-pages
10-
pages: write
9+
contents: read
1110
id-token: write
1211

1312
jobs:
@@ -32,13 +31,14 @@ jobs:
3231
node-version: 20
3332
cache: "pnpm"
3433
cache-dependency-path: pnpm-lock.yaml
34+
registry-url: https://registry.npmjs.org/
3535

3636
- name: Install dependencies
3737
run: pnpm install --frozen-lockfile
3838

3939
- name: Build and publish to npm
4040
run: |
4141
pnpm build
42-
npm publish --access public
42+
npm publish --access public --provenance
4343
env:
4444
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-odontogram",
33
"description": "dental chart for selecting teeth",
4-
"version": "0.5.4",
4+
"version": "0.5.5",
55
"author": "Pratik Sharma <sharma.pratik2016@gmail.com>",
66
"license": "MIT",
77
"keywords": [

0 commit comments

Comments
 (0)