Allow Windows to sleep #25
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: Test web | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - dev | |
| - "release/**" | |
| - "stable/**" | |
| paths-ignore: | |
| - "*.md" | |
| - "LICENSE" | |
| pull_request: | |
| branches: | |
| - main | |
| - dev | |
| - "release/**" | |
| - "stable/**" | |
| paths-ignore: | |
| - "*.md" | |
| - "LICENSE" | |
| permissions: | |
| contents: read | |
| jobs: | |
| test-web: | |
| runs-on: | |
| - codebuild-defguard-client-runner-${{ github.run_id }}-${{ github.run_attempt }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| with: | |
| submodules: recursive | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: new-ui/.nvmrc | |
| - uses: pnpm/action-setup@v6 | |
| with: | |
| version: 11.11 | |
| run_install: false | |
| - name: Install Node dependencies for new UI | |
| working-directory: ./new-ui | |
| run: pnpm install --frozen-lockfile | |
| - name: Run frontend tests | |
| working-directory: ./new-ui | |
| run: pnpm test |