Skip to content

Add hash to the historyState #2

Add hash to the historyState

Add hash to the historyState #2

name: CI Validation
on:
pull_request:
branches:
- "[0-9]+.x"
defaults:
run:
working-directory: ./krait-ui
env:
NODE_VERSION: "20.16.0"
PHP_VERSION: "8.2.22"
jobs:
lint-checks:
name: Lint Checks
runs-on: "ubuntu-22.04"
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: "npm"
cache-dependency-path: "krait-ui/package-lock.json"
- name: Install npm dependencies
run: npm ci
- name: Run Prettier check
run: npm run prettier
- name: Run Lint check
run: npm run lint
- name: Build
run: npm run build