diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4bd6457d4e5..a30577c4a80 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,11 +22,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v1 with: - node-version: 12.x - - # Update npm to v7 - - name: Update npm v7 - run: npm install -g npm@latest + node-version: 16.x # Build the site - name: Install npm packages diff --git a/.github/workflows/update-cli.yml b/.github/workflows/update-cli.yml index 7693dae3102..a70c8f57c12 100644 --- a/.github/workflows/update-cli.yml +++ b/.github/workflows/update-cli.yml @@ -23,11 +23,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v1 with: - node-version: 12.x - - # Update npm to v7 - - name: Update npm v7 - run: npm install -g npm@latest + node-version: 16.x # Add the CLI documentation to the content directory. - name: Install npm packages