Skip to content

Commit

Permalink
Merge pull request #8 from editor-js/add-secrets
Browse files Browse the repository at this point in the history
fix secrets
  • Loading branch information
e11sy authored Aug 14, 2024
2 parents fdae487 + 69e368e commit 6753813
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:

env:
NOTIFY_WEBHOOK_LINK: ${{ secrets.CODEX_BOT_NOTIFY_EDITORJS_PUBLIC_CHAT }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

jobs:
publish:
Expand All @@ -23,6 +24,7 @@ jobs:

- uses: actions/setup-node@v4
with:
always-auth: true
node-version: 22.1.0
registry-url: 'https://registry.npmjs.org/'

Expand All @@ -33,9 +35,7 @@ jobs:
run: yarn build

- name: Publish all packages
run: yarn workspaces foreach --all --no-private npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn workspaces foreach --all --no-private yarn publish --access=public

notify:
needs: publish
Expand Down

0 comments on commit 6753813

Please sign in to comment.