Skip to content

updating some gh action versions #153

updating some gh action versions

updating some gh action versions #153

Workflow file for this run

name: Test UI
on:
pull_request:
branches:
- main
paths:
- "ui/**"
- "hack/build-ui.bash"
- ".github/workflows/ui.yaml"
jobs:
test-ui:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- name: Cache node modules
uses: actions/cache@v4
with:
path: ui/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/ui/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Build UI
env:
NPM_CONFIG_GLOBALCONFIG: "dist/npm/config/npmrc"
NPM_REGISTRY_TOKEN: ${{ secrets.NPM_DEVSPACE_REGISTRY_TOKEN }}
CI: "false"
run: ./hack/build-ui.bash