We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2984202 commit bbbfe26Copy full SHA for bbbfe26
1 file changed
.github/workflows/npm-publish.yml
@@ -6,8 +6,16 @@ on:
6
7
jobs:
8
publish-npm:
9
- uses: cabify/javascript-actions/.github/workflows/npm_publish.yml@main
10
- with:
11
- tag: ${{ contains(github.ref_name,'beta') && 'beta' || 'latest' }}
12
- secrets:
13
- token: ${{ secrets.NPM_TOKEN }}
+ runs-on: ubuntu-latest
+ permissions:
+ contents: read
+ id-token: write
+ steps:
14
+ - uses: actions/checkout@v4
15
+ - uses: actions/setup-node@v4
16
+ with:
17
+ node-version: 24
18
+ registry-url: https://registry.npmjs.org
19
+ - run: yarn install
20
+ - run: yarn build
21
+ - run: npm publish --provenance --tag ${{ contains(github.ref_name,'beta') && 'beta' || 'latest' }}
0 commit comments