Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,15 +138,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Install Node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
node-version: 18.19.0
node-version: '20'
cache: 'npm'
cache-dependency-path: './modules/ui/package-lock.json'

- name: Install Chromium Browser
run: sudo apt install chromium-browser

- name: Install dependencies
run: npm install && npm ci
run: npm ci
working-directory: ./modules/ui

- name: Run tests
run: |
export CHROME_BIN=/usr/bin/chromium-browser
Expand All @@ -161,16 +167,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Install Node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
node-version: 18.19.0
node-version: '20'
cache: 'npm'
cache-dependency-path: './modules/ui/package-lock.json'

- name: Install dependencies
run: npm install && npm ci
run: npm ci
working-directory: ./modules/ui

- name: Run ESLint
run: npm run lint
working-directory: ./modules/ui

- name: Run format check
run: npm run format
working-directory: ./modules/ui
4 changes: 2 additions & 2 deletions modules/ui/build.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

# Image name: testrun/build-ui
FROM node@sha256:ffebb4405810c92d267a764b21975fb2d96772e41877248a37bf3abaa0d3b590 as build
FROM node:22-alpine as build

# Set the working directory
WORKDIR /modules/ui
WORKDIR /modules/ui
Loading
Loading