Skip to content

Commit

Permalink
Merge pull request #20 from zendesk/victor.piolin/ci-release-publish
Browse files Browse the repository at this point in the history
ci(release-workflow): Remove access restricted to npm publish command
  • Loading branch information
Vico1993 authored Jan 24, 2025
2 parents 9e84726 + aca4194 commit 733975e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/release-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,14 @@ jobs:
cache: "npm"
cache-dependency-path: "package-lock.json"
registry-url: https://npm.pkg.github.com/

- name: Install dependencies
run: npm ci

- name: Build package
run: npm run build

- name: Publish to Github Packages
run: npm publish --access restricted
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zendesk/zaf-toolbox",
"version": "0.2.0",
"version": "0.2.1",
"description": "A toolbox for ZAF application built with 🩷 by Zendesk Labs",
"main": "lib/src/index.js",
"types": "lib/src/index.d.ts",
Expand Down

0 comments on commit 733975e

Please sign in to comment.