Skip to content

Commit

Permalink
ci(github-actions): provenance tweaks (#402)
Browse files Browse the repository at this point in the history
  • Loading branch information
chimurai committed Apr 15, 2024
1 parent a591726 commit 8dafa4a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
@@ -1,9 +1,9 @@
name: Publish Package to npmjs
name: publish to npmjs
on:
release:
types: [published]
types: [prereleased, released]
jobs:
build:
build-and-publish:
runs-on: ubuntu-latest
permissions:
contents: read
Expand All @@ -21,7 +21,7 @@ jobs:
run: npm publish --provenance --access public --tag beta
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish to NPM (release)
- name: Publish to NPM (stable)
if: "!github.event.release.prerelease"
run: npm publish --provenance --access public
env:
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "requirements",
"version": "2.0.0-beta.1",
"version": "2.0.0-beta.2",
"license": "MIT",
"author": "chimurai",
"homepage": "https://github.com/chimurai/requirements",
Expand Down

0 comments on commit 8dafa4a

Please sign in to comment.