diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index b34ab48deb..55432bc0b9 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -53,6 +53,8 @@ jobs: echo "VERSION=$(npx semver -i prerelease --preid rc ${RC_VERSION:-$PACKAGE_VERSION} | tr -d '\n')" >> $GITHUB_ENV - name: Set version to ${{ env.VERSION }} + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_PACKAGES_TOKEN }} run: | npm version $VERSION --no-git-tag-version npx lerna version $VERSION --no-push --force-publish --no-git-tag-version --yes diff --git a/.github/workflows/promote.yaml b/.github/workflows/promote.yaml index 1dc59f2c55..fa0b7062f1 100644 --- a/.github/workflows/promote.yaml +++ b/.github/workflows/promote.yaml @@ -49,8 +49,6 @@ jobs: - name: Create Github release v${{ env.VERSION }} if: ${{ github.event.inputs.dryRun == 'false' }} uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: v${{ env.VERSION }} release_name: Release ${{ env.VERSION }} diff --git a/package.json b/package.json index 09e05d6983..39de4ad3a3 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "karma-source-map-support": "^1.4.0", "karma-sourcemap-loader": "^0.3.7", "karma-static": "^1.0.1", - "lerna": "^3.13.1", + "lerna": "3.13.1", "lint-staged": "^10.1.1", "mocha": "^7.1.1", "npm-run-all": "^4.1.5",