Skip to content

Commit

Permalink
👷 Fix CI/CD workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielePicco committed Apr 6, 2024
1 parent df12947 commit 683a476
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish-bolt-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,11 @@ jobs:
- name: npm publish
run: |
yarn install
npm install --global eslint@^8.33.0
npm install
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
npm set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}
cd clients/bolt-sdk/ && yarn build && yarn lint:fix && cd ../../ && yarn lint:fix
cd clients/bolt-sdk/ && npm run build && npm run lint:fix && cd ../../ && npm run lint:fix
cd clients/bolt-sdk/
if [ "${DRY_RUN}" = "true" ]; then
echo "Running npm publish in dry-run mode"
Expand Down

0 comments on commit 683a476

Please sign in to comment.