chore: publish to gpr (#78)

This commit is contained in:
moebius
2025-02-10 10:08:21 +01:00
committed by GitHub
parent b4dcd74381
commit 2555543d88
3 changed files with 12 additions and 5 deletions

View File

@@ -26,8 +26,7 @@ jobs:
with:
node-version: 20.x
cache: "yarn"
registry-url: 'https://registry.npmjs.org'
token: ${{ secrets.NPM_TOKEN }}
registry-url: "https://npm.pkg.github.com/"
- name: Install dependencies
run: yarn --frozen-lockfile --network-concurrency 1
@@ -44,4 +43,6 @@ jobs:
- name: Publish canary
# run: npm publish --access public --tag canary
run: npm publish --access restricted --tag canary
run: npm publish --access restricted --tag canary
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}