From 8fa328a5fdcead3748912c308a5cd3ff5392a0ca Mon Sep 17 00:00:00 2001 From: Muryor <65432884+Muryor@users.noreply.github.com> Date: Mon, 28 Mar 2022 10:29:15 +0800 Subject: [PATCH] Update automerge.yml --- .github/workflows/automerge.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index 3f01a70..d97794b 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -45,13 +45,12 @@ jobs: - uses: actions/setup-node@v2 with: - node-version: "16.x" + node-version: "12.x" registry-url: https://registry.npmjs.org/ - - run: npm ci - run: npm version patch - - run: npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.npm_token}} + - uses: JS-DevTools/npm-publish@v1 + with: + token: ${{secrets.npm_token}} - name: commit