diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2dfa0bd..876cda6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,7 +18,7 @@ jobs: with: node-version: 18 registry-url: https://registry.npmjs.org - - run: npm update -g npm@10 + - run: npm install -g npm@10 - run: npm ci - name: Publish package diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 77fd5c8..434f8f4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,6 +15,6 @@ jobs: - uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - - run: npm update -g npm@10 + - run: npm install -g npm@10 - run: npm ci - run: npm test