From 4d874e75566a843d30135e4e8c6ec719f656fbf7 Mon Sep 17 00:00:00 2001 From: Masafumi Koba <473530+ybiquitous@users.noreply.github.com> Date: Thu, 11 Mar 2021 02:41:55 +0900 Subject: [PATCH] fix(actions): use the latest npm for test (#896) --- .github/workflows/test.yml | 1 + test/__snapshots__/init.test.js.snap | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c15568bd..44d1771f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,6 +17,7 @@ jobs: - uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} + - run: npm --global install npm@latest - run: npm ci - run: npm run lint - run: npm test diff --git a/test/__snapshots__/init.test.js.snap b/test/__snapshots__/init.test.js.snap index cf933d62..ad1c4f6c 100644 --- a/test/__snapshots__/init.test.js.snap +++ b/test/__snapshots__/init.test.js.snap @@ -252,6 +252,7 @@ jobs: - uses: actions/setup-node@v2 with: node-version: \${{ matrix.node-version }} + - run: npm --global install npm@latest - run: npm ci - run: npm run lint - run: npm test