Skip to content

Commit

Permalink
Update GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
borulday committed Jun 11, 2024
1 parent dee2505 commit 1eab487
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,5 @@ jobs:
run: |
extension_pkg_name=$(echo $GITHUB_REF_NAME | cut -d'@' -f 1)
npm run publish --workspace=$extension_pkg_name
env:
ZEM_ACCESS_TOKEN: ${{ secrets.ZEM_ACCESS_TOKEN }}
6 changes: 4 additions & 2 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
with:
node-version: '16.14.0'
registry-url: 'https://registry.npmjs.org/'
scope: '@zeplin'

- name: Cache Dependencies
uses: actions/cache@v3
Expand All @@ -36,6 +37,7 @@ jobs:

- name: Publish zeplin-extension-style-kit to NPM
run: |
echo "@zeplin:registry=https://registry.npmjs.org/" >> ~/.npmrc
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN_EXTENSIONS }}" >> ~/.npmrc
npm run publish-pkg --workspace=zeplin-extension-style-kit
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_EXTENSIONS }}

0 comments on commit 1eab487

Please sign in to comment.