diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index b8fdbdc..a3aab2c 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -30,6 +30,7 @@ jobs: node-version: ${{ matrix.node }} registry-url: 'https://registry.npmjs.org' cache: 'npm' + - run: npm install -g npm@9.x - run: npm ci - run: npm run build --if-present - run: npm test diff --git a/package.json b/package.json index 0453dc1..25394b0 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "license": "MIT", "main": "./index.js", "engines": { - "node": "^14.21.3 || >=16" + "node": "^14.21.3 || >=16", + "npm": ">=9" }, "files": [ "bip39/*.js",