Skip to content

use Docker registry as cache (#286) #553

use Docker registry as cache (#286)

use Docker registry as cache (#286) #553

Workflow file for this run

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