diff --git a/.github/workflows/auto-test.yml b/.github/workflows/auto-test.yml index 14f776df..7570a7f2 100644 --- a/.github/workflows/auto-test.yml +++ b/.github/workflows/auto-test.yml @@ -33,7 +33,7 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node }} - - run: npm install npm@latest -g + - run: npm install npm@9 -g - run: npm install - run: npm run build - run: npm test @@ -61,7 +61,7 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node }} - - run: npm install npm@latest -g + - run: npm install npm@9 -g - run: npm ci --production check-linters: diff --git a/README.md b/README.md index 54b6892a..75b284bb 100644 --- a/README.md +++ b/README.md @@ -60,8 +60,8 @@ Requirements: - [pm2](https://pm2.keymetrics.io/) - For running Uptime Kuma in the background ```bash -# Update your npm to the latest version -npm install npm -g +# Update your npm +npm install npm@9 -g git clone https://github.com/louislam/uptime-kuma.git cd uptime-kuma