Build packages with custom user #520
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 | |
| - name: Install NodeJS | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 25 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v6 | |
| with: | |
| cache: true | |
| version: 10 | |
| - name: Install deps | |
| working-directory: web | |
| run: pnpm install --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 |