Skip to content

Commit

Permalink
build: use NodeJS v20 for production build of maas-ui (#5239)
Browse files Browse the repository at this point in the history
  • Loading branch information
ndv99 authored Dec 11, 2023
1 parent ceb0c9b commit 19c5e71
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ jobs:
env:
PACKAGE_NAME: maas-ui-${{ github.sha }}.tar.gz
REACT_APP_GIT_SHA: ${{ github.sha }}
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v4
- name: Get branch name
Expand All @@ -25,10 +22,10 @@ jobs:
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Use Node.js ${{ matrix.node-version }}
- name: Use Node.js from .nvmrc
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version-file: '.nvmrc'
- name: Install
if: steps.yarn-cache.outputs.cache-hit != 'true'
run: CYPRESS_INSTALL_BINARY=0 yarn install
Expand Down

0 comments on commit 19c5e71

Please sign in to comment.