We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfefb0f commit 716e874Copy full SHA for 716e874
.github/workflows/publish.yml
@@ -13,16 +13,7 @@ jobs:
13
node-version: 18
14
registry-url: https://registry.npmjs.org/
15
16
- - id: 'auth'
17
- uses: 'google-github-actions/auth@v1'
18
- with:
19
- credentials_json: '${{ secrets.GCP_ARTIFACTORY_SERVICE_ACCOUNT }}'
20
-
21
- - name: 'Set up Cloud SDK'
22
- uses: 'google-github-actions/setup-gcloud@v1'
23
24
- project_id: ${{ secrets.GCP_PROJECT_ID }}
25
- - run: echo '@kapeta:registry=${{ secrets.GCP_ARTIFACT_NPM_URL }}' > .npmrc
26
- run: npm install
27
- - run: npx google-artifactregistry-auth .npmrc
28
- - run: npm publish --registry ${{ secrets.GCP_ARTIFACT_NPM_URL }}
+ - run: npm publish --access public
+ env:
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments