Skip to content

Update frontend dependencies (dev) #562

Update frontend dependencies (dev)

Update frontend dependencies (dev) #562

Workflow file for this run

on:
push:
branches:
- dev
- "release/**"
- "stable/**"
paths-ignore:
- "*.md"
- "LICENSE"
pull_request:
branches:
- dev
- "release/**"
- "stable/**"
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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
submodules: recursive
- name: Install NodeJS
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 26
- name: Install pnpm
uses: pnpm/action-setup@008330803749db0355799c700092d9a85fd074e9 # v6.0.9
with:
version: 11
# 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