Skip to content

Commit

Permalink
Fix publishing of new package
Browse files Browse the repository at this point in the history
  • Loading branch information
Siilwyn committed Aug 9, 2024
1 parent c62120b commit efdac7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
Expand All @@ -31,7 +32,7 @@ jobs:
run: npm ci --ignore-scripts --no-audit --no-fund

- name: Publish package
run: npm publish --provenance
run: npm publish --provenance --access public
working-directory: ./image-vue
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
2 changes: 1 addition & 1 deletion image-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"types": "./dist/image-vue-pure/Image.d.mts",
"repository": {
"type": "git",
"url": "git+https://github.com/voorhoede/open-source-project.git",
"url": "git+https://github.com/voorhoede/Image.git",
"directory": "image-vue"
},
"keywords": [
Expand Down

0 comments on commit efdac7d

Please sign in to comment.