fix: second try fixing gh canary action (#73)

Second try to fix the npm auth

Fixes SEC-255
This commit is contained in:
Turtle
2025-02-07 19:04:56 -03:00
committed by GitHub
parent d7d38f8c18
commit 12dec5f3c6

View File

@@ -27,6 +27,7 @@ jobs:
node-version: 20.x
cache: "yarn"
registry-url: 'https://registry.npmjs.org'
token: ${{ secrets.NPM_TOKEN }}
- name: Install dependencies
run: yarn --frozen-lockfile --network-concurrency 1
@@ -42,6 +43,4 @@ jobs:
run: yarn version --new-version "0.0.0-${GITHUB_SHA::8}" --no-git-tag-version
- name: Publish canary
run: npm publish --access public --tag canary
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish --access public --tag canary