From 0a890e004ee0e32a0523810453ecbda0609200e2 Mon Sep 17 00:00:00 2001 From: Keisuke Kan <9renpoto@gmail.com> Date: Fri, 5 Jun 2020 09:40:15 +0900 Subject: [PATCH] chore: use pascalgn/npm-publish-action --- .github/workflows/release.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c8a9b1f0..ae9432c9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -14,6 +14,8 @@ jobs: node-version: '12.x' registry-url: 'https://registry.npmjs.org' - run: npm install - - run: npm publish + - name: Publish to npm + uses: pascalgn/npm-publish-action@1.2.0 env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}