From e3f105c2bdeb95bce3a94e4c16b59d0056d416af Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Wed, 26 May 2021 15:08:57 +0100 Subject: [PATCH] auto release from NPM --- .github/workflows/release.yml | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9a7df903b9..fa1b260019 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,10 +24,10 @@ jobs: SENTRY_DSN: ${{ secrets.SENTRY_DSN }} - run: yarn test - # - name: Publish budibase packages to NPM - # env: - # NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - # run: yarn release + - name: Publish budibase packages to NPM + env: + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + run: yarn release - name: Build/release Docker images run: | diff --git a/package.json b/package.json index 380407d48d..1b9e3aa049 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "initialise": "lerna run initialise", "publishdev": "lerna run publishdev", "publishnpm": "yarn build && lerna publish --force-publish", - "release": "lerna publish --force-publish --yes", + "release": "yarn build && lerna publish --force-publish --yes", "restore": "yarn run clean && yarn run bootstrap && yarn run build", "nuke": "yarn run nuke:packages && yarn run nuke:docker", "nuke:packages": "yarn run restore",