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 e3753d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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 }}
4 changes: 2 additions & 2 deletions image-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@voorhoede/image-vue",
"version": "0.0.0",
"version": "1.0.0",
"description": "Optimized CDN image component",
"type": "module",
"scripts": {
Expand All @@ -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 e3753d9

Please sign in to comment.