From 31da9d36c9242a3910f8939a10df1d6a2b918d57 Mon Sep 17 00:00:00 2001 From: poonam yadav Date: Mon, 25 Sep 2023 18:18:54 +0530 Subject: [PATCH] ELEMENTS-1677: build failed while generating a snapshot for elements project --- .github/workflows/main.yaml | 2 ++ 1 file changed, 2 insertions(+) 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