From d3bad22868fe55e220158911b24c7edfa151b789 Mon Sep 17 00:00:00 2001 From: Nick Groszewski Date: Wed, 18 Jan 2023 21:20:17 +0000 Subject: [PATCH] ci: Update Node.js version to 16 Updates to use the latest (3.6.0) release of [setup-node](https://github.com/actions/setup-node) and bumps the Node.js version to 16. This should also get rid of deprecation warnings we're seeing in our workflow actions (for example, https://github.com/tensorflow/tensorboard/actions/runs/3388287772). Resolves #6123. --- .github/workflows/ci.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bb31e0cffc..40a02be90e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -149,7 +149,7 @@ jobs: architecture: 'x64' - name: 'Cache Cargo artifacts' if: matrix.mode == 'native' - uses: actions/cache@1a9e2138d905efd099035b49d8b7a3888c653ca8 + uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3.2.2 with: path: | tensorboard/data/server/target/ @@ -269,7 +269,7 @@ jobs: steps: - uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e - name: 'Cache Cargo artifacts' - uses: actions/cache@1a9e2138d905efd099035b49d8b7a3888c653ca8 + uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3.2.2 with: path: | tensorboard/data/server/target/ @@ -308,10 +308,9 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e - - uses: actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d + - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 with: - # default on setup-node@1 is v10.24.1. - node-version: '12.21.0' + node-version: 16 - run: yarn install --ignore-engines # You can run `yarn fix-lint` to fix all Prettier complaints. - run: yarn lint