Update fr.json #7950
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: Unit tests on CISO Assistant frontend | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| paths: | |
| - "frontend/**" | |
| workflow_dispatch: | |
| # Cancel older in-progress runs for the same PR or the same ref (branch) | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| GITHUB_WORKFLOW: github_actions | |
| UBUNTU_VERSION: "ubuntu-24.04" | |
| NODE_VERSION: "22" | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04 | |
| env: | |
| working-directory: ./frontend | |
| strategy: | |
| max-parallel: 4 | |
| matrix: | |
| node-version: ["22"] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up node ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Install latest pnpm | |
| working-directory: ${{env.working-directory}} | |
| run: | | |
| npm install -g pnpm && | |
| pnpm --version && | |
| pnpm list -g --depth 0 | |
| - name: Install dependencies | |
| working-directory: ${{env.working-directory}} | |
| run: pnpm i --frozen-lockfile | |
| - name: Prepare sveltekit | |
| working-directory: ${{env.working-directory}} | |
| run: pnpm run prepare | |
| - name: Run tests | |
| working-directory: ${{env.working-directory}} | |
| run: pnpm run test:ci |