diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bbb9b66e..a3e6a02d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,6 +29,7 @@ jobs: uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 with: node-version: "lts/*" + check-latest: true cache: "npm" - name: Install dependencies diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7289a2ee..5bda6eeb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -46,6 +46,7 @@ jobs: - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 with: node-version: "lts/*" + check-latest: true registry-url: "https://registry.npmjs.org" - name: Update npm run: npm install -g npm@latest