diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c87f04ac790..7265fcbb953 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -54,10 +54,11 @@ jobs: const [, major, minor] = tag.match(/^v([0-9]+)\.([0-9]+)/); return (tag.includes('dev') ? `${major}.${minor}-dev` : 'latest'); + - name: Configure NPM auth token + run: yarn config set npmAuthToken "${{ secrets.NPM_TOKEN }}" + - name: Publish NPM packages - run: yarn workspaces foreach --all --no-private --parallel npm publish --tag ${{ steps.tag.outputs.result }} - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + run: yarn workspaces foreach --all --no-private --parallel npm publish --access public --tag ${{ steps.tag.outputs.result }} release-drive-docker-image: name: Release Drive to Docker Hub