From 64b97c0f29123ea7c23846b3acca94fe524dfc1c Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Fri, 1 Sep 2023 17:30:09 +0800 Subject: [PATCH] Lock to npm@9 (#3670) --- .github/workflows/auto-test.yml | 4 ++-- README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/auto-test.yml b/.github/workflows/auto-test.yml index 14f776dff..7570a7f2a 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 54b6892af..75b284bb8 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