From 683a476e6a498195229c8fdc98bb6d113abca50c Mon Sep 17 00:00:00 2001 From: Gabriele Picco Date: Sat, 6 Apr 2024 15:26:29 +0100 Subject: [PATCH] :construction_worker: Fix CI/CD workflow --- .github/workflows/publish-bolt-sdk.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-bolt-sdk.yml b/.github/workflows/publish-bolt-sdk.yml index 458f5ca..b38a82b 100644 --- a/.github/workflows/publish-bolt-sdk.yml +++ b/.github/workflows/publish-bolt-sdk.yml @@ -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"