Skip to content

Commit

Permalink
ci: Update Node.js version to 16
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
groszewn committed Jan 18, 2023
1 parent cd25871 commit d3bad22
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down Expand Up @@ -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/
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d3bad22

Please sign in to comment.