Skip to content

Bump rollup from 2.75.4 to 2.79.2 in /ui #243

Bump rollup from 2.75.4 to 2.79.2 in /ui

Bump rollup from 2.75.4 to 2.79.2 in /ui #243

Workflow file for this run

name: UI Unit Tests
on:
pull_request:
paths:
- "ui/**"
- ".github/workflows/test_ui.yml"
jobs:
test:
runs-on: artemis-ui-test-runner-4
env:
UI_PATH: ./ui
HADOLINT_URL: https://github.com/hadolint/hadolint/releases/download/v2.10.0/hadolint-Linux-x86_64
NPM_VERSION: 10
steps:
- name: Checkout the code
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # actions/[email protected]
- name: Setup node from node version file
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # actions/[email protected]
with:
node-version-file: "${{ env.UI_PATH }}/.nvmrc"
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # hashicorp/[email protected]
- name: Set up the npm version
run: npm install --global npm@$NPM_VERSION
- name: Install npm packages
run: make -C $UI_PATH install
- name: Install hadolinter and check sha
run: wget --quiet -O ./hadolint $HADOLINT_URL && sha512sum -c hadolint.sha512 && chmod 0766 ./hadolint
working-directory: ${{ env.UI_PATH }}
- name: Run precommit checks (linting & testing etc)
run: make -C $UI_PATH precommit
- name: Save test results
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # actions/[email protected]
with:
name: ui-test
path: ui/test-report/index.html