Skip to content

Commit

Permalink
fix: stable gh workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasRalee committed Jun 18, 2024
1 parent bdbc2d7 commit bc2ebae
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,15 @@ jobs:
- name: Build dependencies
run: |
lerna clean --yes
node etc/bootstrapEnv
yarn install --ignore-engines
yarn build
- name: 'Setup npm'
run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc
- name: Setup npm
run: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc
npm whoami
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand All @@ -49,6 +52,11 @@ jobs:
lerna version patch --conventional-commits --conventional-graduate --force-git-tag --yes
lerna publish from-git --force-git-tag --dist-tag latest --yes --summary-file
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

- name: 'Broadcast published versions on Slack'
run: node etc/slack --api=$SLACK_API --actor=$GIT_ACTOR --commit-message=$GIT_LATEST_COMMIT_MESSAGE
env:
Expand Down

0 comments on commit bc2ebae

Please sign in to comment.