diff --git a/frontend/.github/workflows/release.yml b/frontend/.github/workflows/release.yml index a6392889ca..f86d8a851e 100644 --- a/frontend/.github/workflows/release.yml +++ b/frontend/.github/workflows/release.yml @@ -15,18 +15,18 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} + - name: Publish to npm uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} + registry-url: 'https://registry.npmjs.org' - run: | - yarn install --frozen-lockfile - - name: Publish to NPM + yarn install --frozen-lockfile run: | TAG=$(echo $GITHUB_REF_NAME | grep -oP '^v\d+\.\d+\.\d+-?\K(\w+)?') npm publish --tag ${TAG:-latest} env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - uses: aws-actions/configure-aws-credentials@v1 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}