Add hash to the historyState #2
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |