Bump @sveltejs/kit from 1.27.1 to 2.5.7 in /frontend #403
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: Lint Frontend | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
paths: | |
- "frontend/**" | |
- ".github/workflows/lint-frontend.yaml" | |
pull_request: | |
branches: [main] | |
paths: | |
- "frontend/**" | |
- ".github/workflows/lint-frontend.yaml" | |
jobs: | |
lint: | |
name: Lint Code | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
defaults: | |
run: | |
# Step into frontend | |
working-directory: ./frontend | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Set up node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.16 | |
cache: "npm" | |
cache-dependency-path: "frontend" | |
- name: Install dependencies | |
run: npm ci | |
- name: Lint | |
run: npm run lint | |
codeql: | |
name: CodeQL Analysis | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
# Initializes the CodeQL tools for scanning. | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: javascript | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 |