diff --git a/.github/workflows/publish-auto.yml b/.github/workflows/publish-auto.yml index 20154c92a..9d9641760 100644 --- a/.github/workflows/publish-auto.yml +++ b/.github/workflows/publish-auto.yml @@ -17,7 +17,8 @@ jobs: - uses: actions/setup-node@v2.4.1 with: - cache: "yarn" + registry-url: "https://registry.npmjs.org" + node-version: "16" - name: Prepare repository run: git fetch --unshallow --tags @@ -26,7 +27,8 @@ jobs: run: yarn --frozen-lockfile - name: Create release + run: npm run release env: - GITHUB_TOKEN: ${{ secrets.GH_PAT }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - run: yarn run release + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}