From cab4c0d8e9a92d8a1d654046c8e49742cf20bfd5 Mon Sep 17 00:00:00 2001 From: Myles Borins Date: Fri, 14 Jan 2022 17:41:12 -0500 Subject: [PATCH] tools: update node in actions --- .github/workflows/publish.yml | 6 +----- .github/workflows/update-cli.yml | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) 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