mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-31 18:48:08 +00:00
ci: use the correct version of node for test-ui (#21733)
Signed-off-by: Ryan Cragun <me@ryan.ec>
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -202,14 +202,14 @@ jobs:
|
|||||||
# Setup node.js without caching to allow running npm install -g yarn (next step)
|
# Setup node.js without caching to allow running npm install -g yarn (next step)
|
||||||
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
|
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
|
||||||
with:
|
with:
|
||||||
node-version-file: './ui/package.json'
|
node-version: 14
|
||||||
- id: install-yarn
|
- id: install-yarn
|
||||||
run: |
|
run: |
|
||||||
npm install -g yarn
|
npm install -g yarn
|
||||||
# Setup node.js with caching using the yarn.lock file
|
# Setup node.js with caching using the yarn.lock file
|
||||||
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
|
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
|
||||||
with:
|
with:
|
||||||
node-version-file: './ui/package.json'
|
node-version: 14
|
||||||
cache: yarn
|
cache: yarn
|
||||||
cache-dependency-path: ui/yarn.lock
|
cache-dependency-path: ui/yarn.lock
|
||||||
- id: install-browser
|
- id: install-browser
|
||||||
@@ -278,7 +278,7 @@ jobs:
|
|||||||
- setup-go-cache
|
- setup-go-cache
|
||||||
- test-go
|
- test-go
|
||||||
- test-ui
|
- test-ui
|
||||||
if: always()
|
if: always()
|
||||||
runs-on: ${{ fromJSON(needs.setup.outputs.compute-tiny) }}
|
runs-on: ${{ fromJSON(needs.setup.outputs.compute-tiny) }}
|
||||||
steps:
|
steps:
|
||||||
- run: |
|
- run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user