From 2573648db60ce173909b1a4fff75513d3499b1b5 Mon Sep 17 00:00:00 2001 From: Masafumi Koba <473530+ybiquitous@users.noreply.github.com> Date: Thu, 8 Sep 2022 22:48:04 +0900 Subject: [PATCH] fix(actions): pass npm token to release workflow (#1361) --- .github/workflows/release.yml | 2 ++ test/__snapshots__/init.test.js.snap | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b3b56b71..3c16d410 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,3 +7,5 @@ on: jobs: release: uses: ybiquitous/.github/.github/workflows/nodejs-release-reusable.yml@main + secrets: + npm-token: ${{ secrets.NPM_TOKEN }} diff --git a/test/__snapshots__/init.test.js.snap b/test/__snapshots__/init.test.js.snap index 926f9dca..af6528c1 100644 --- a/test/__snapshots__/init.test.js.snap +++ b/test/__snapshots__/init.test.js.snap @@ -182,6 +182,8 @@ on: jobs: release: uses: ybiquitous/.github/.github/workflows/nodejs-release-reusable.yml@main + secrets: + npm-token: \${{ secrets.NPM_TOKEN }} " `;