publish to npm
This commit is contained in:
@@ -55,11 +55,12 @@ jobs:
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
registry-url: https://npm.pkg.github.com/
|
||||
registry-url: https://registry.npmjs.org/
|
||||
scope: '@umbraco-cms'
|
||||
always-auth: true
|
||||
- run: |
|
||||
SHA_SHORT=$(echo $GITHUB_SHA | cut -c1-8)
|
||||
npm version 13.0.0-next.$SHA_SHORT --allow-same-version --no-git-tag-version
|
||||
- run: npm publish --tag next
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
||||
|
||||
Reference in New Issue
Block a user