improve baseline HTTP security for no-reverse proxy deployment scenarios #535
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: Lint frontend | |
| 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-proxy-runner-${{ github.run_id }}-${{ github.run_attempt }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 25 | |
| - name: install deps | |
| working-directory: ./web | |
| run: | | |
| npm i -g pnpm | |
| pnpm i --frozen-lockfile | |
| - name: Build translations | |
| working-directory: ./web | |
| run: pnpm dlx @inlang/paraglide-js compile --project ./project.inlang --outdir ./src/paraglide | |
| - name: Lint | |
| working-directory: ./web | |
| run: pnpm lint | |
| - name: Audit | |
| working-directory: ./web | |
| run: pnpm audit --prod --ignore-unfixable |