mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-01 20:46:08 +00:00
chore: provenance
This commit is contained in:
parent
3efe66bf5e
commit
237620569e
4
.github/workflows/dev.yml
vendored
4
.github/workflows/dev.yml
vendored
@ -9,6 +9,7 @@ jobs:
|
|||||||
publish_dev:
|
publish_dev:
|
||||||
name: PublishDev
|
name: PublishDev
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.repository == 'tiramisulabs/seyfert'
|
||||||
steps:
|
steps:
|
||||||
- name: check out code
|
- name: check out code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@ -32,7 +33,6 @@ jobs:
|
|||||||
new_version=$(npm version prerelease --preid dev-${{github.run_id}} --no-git-tag-version)
|
new_version=$(npm version prerelease --preid dev-${{github.run_id}} --no-git-tag-version)
|
||||||
echo "New version: $new_version"
|
echo "New version: $new_version"
|
||||||
npm config set //registry.npmjs.org/:_authToken ${NODE_AUTH_TOKEN}
|
npm config set //registry.npmjs.org/:_authToken ${NODE_AUTH_TOKEN}
|
||||||
npm publish --tag=dev
|
npm publish --provenance --tag=dev
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
if: github.repository == 'tiramisulabs/seyfert'
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user