Skip to content

Commit 716e874

Browse files
committed
Get rid of GCP registry
1 parent dfefb0f commit 716e874

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,7 @@ jobs:
1313
node-version: 18
1414
registry-url: https://registry.npmjs.org/
1515

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-
with:
24-
project_id: ${{ secrets.GCP_PROJECT_ID }}
25-
- run: echo '@kapeta:registry=${{ secrets.GCP_ARTIFACT_NPM_URL }}' > .npmrc
2616
- run: npm install
27-
- run: npx google-artifactregistry-auth .npmrc
28-
- run: npm publish --registry ${{ secrets.GCP_ARTIFACT_NPM_URL }}
17+
- run: npm publish --access public
18+
env:
19+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)