Bump @types/sanitize-html from 2.9.1 to 2.9.5 in /frontend #238
This file contains 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: frontend lint/validate | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16, 18, 20] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'pnpm' | |
cache-dependency-path: "./frontend/pnpm-lock.yaml" | |
- name: Install modules | |
working-directory: ./frontend | |
run: pnpm install --frozen-lockfile | |
- name: Run linters | |
working-directory: ./frontend | |
run: pnpm lint | |
- name: Run svelte-checks | |
working-directory: ./frontend | |
run: pnpm validate |