Fix WireGuard config and LDAP saving bugs (#2827) #3801
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
| on: | |
| push: | |
| branches: | |
| - main | |
| - dev | |
| - "release/**" | |
| paths-ignore: | |
| - "*.md" | |
| - "LICENSE" | |
| pull_request: | |
| branches: | |
| - main | |
| - dev | |
| - "release/**" | |
| paths-ignore: | |
| - "*.md" | |
| - "LICENSE" | |
| jobs: | |
| lint-web: | |
| runs-on: | |
| - codebuild-defguard-core-runner-${{ github.run_id }}-${{ github.run_attempt }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - name: Install NodeJS | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 25 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v6 | |
| with: | |
| version: 10 | |
| # Change to '--frozen-lockfile' once this gets fixed: | |
| # https://github.com/pnpm/action-setup/issues/40 | |
| # | |
| # Restore audit when this is fixed: | |
| # https://github.com/pnpm/pnpm/issues/11265 | |
| - name: Lint frontend | |
| working-directory: web | |
| run: | | |
| pnpm install --ignore-scripts --no-frozen-lockfile | |
| pnpm build | |
| pnpm lint |