From 5649fc99f9581e3bf5d6f1d76e7541ef554603f1 Mon Sep 17 00:00:00 2001 From: Masafumi Koba <473530+ybiquitous@users.noreply.github.com> Date: Fri, 2 Apr 2021 00:21:34 +0900 Subject: [PATCH] fix(actions): use the latest npm for releasing --- .github/workflows/release.yml | 1 + test/__snapshots__/init.test.js.snap | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a68286de..9062d54c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,6 +13,7 @@ jobs: with: node-version: "12" registry-url: "https://registry.npmjs.org" + - run: npm --global install npm@latest - run: npm ci - run: npm publish env: diff --git a/test/__snapshots__/init.test.js.snap b/test/__snapshots__/init.test.js.snap index ad1c4f6c..5c7cbb49 100644 --- a/test/__snapshots__/init.test.js.snap +++ b/test/__snapshots__/init.test.js.snap @@ -217,6 +217,7 @@ jobs: with: node-version: \\"12\\" registry-url: \\"https://registry.npmjs.org\\" + - run: npm --global install npm@latest - run: npm ci - run: npm publish env: