Skip to content

Commit

Permalink
Merge pull request #482 from InjectiveLabs/dev
Browse files Browse the repository at this point in the history
PR #482
  • Loading branch information
Thomas authored Jun 18, 2024
2 parents 5b4df8b + bc2ebae commit 262e232
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 @@ -34,12 +34,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 @@ -50,6 +53,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 262e232

Please sign in to comment.