ci: use the correct version of node for test-ui (#21733)

Signed-off-by: Ryan Cragun <me@ryan.ec>
This commit is contained in:
Ryan Cragun
2023-07-10 12:52:59 -06:00
committed by GitHub
parent a63e7cb4b8
commit b465b7e111

View File

@@ -202,14 +202,14 @@ jobs:
# Setup node.js without caching to allow running npm install -g yarn (next step)
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version-file: './ui/package.json'
node-version: 14
- id: install-yarn
run: |
npm install -g yarn
# Setup node.js with caching using the yarn.lock file
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version-file: './ui/package.json'
node-version: 14
cache: yarn
cache-dependency-path: ui/yarn.lock
- id: install-browser
@@ -278,7 +278,7 @@ jobs:
- setup-go-cache
- test-go
- test-ui
if: always()
if: always()
runs-on: ${{ fromJSON(needs.setup.outputs.compute-tiny) }}
steps:
- run: |