diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 232ecca5..0a9f8fc4 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -19,11 +19,14 @@ jobs: node-version: [ lts/-1, lts/*] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} + - name: Update npm to 8.x + run: | + npm i -g npm@8 - name: npm install, build, and test run: | npm install