Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

chore(deps): Update dependency eslint-config-next to v14.2.4 #14

chore(deps): Update dependency eslint-config-next to v14.2.4

chore(deps): Update dependency eslint-config-next to v14.2.4 #14

Workflow file for this run

name: qa
on:
push:
branches: ['main']
pull_request:
branches: ['main']
jobs:
cql-scan:
name: CodeQL Scans
runs-on: ubuntu-latest
timeout-minutes: 360
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: javascript-typescript
- uses: pnpm/action-setup@v2
- name: Use Node.js LTS
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: pnpm
- uses: actions/cache@v4
with:
path: |
~/.pnpm
${{ github.workspace }}/.next/cache
# Generate a new cache whenever packages or source files change.
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.json') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
# If source files changed but packages didn't, rebuild from a prior cache.
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.json') }}-
- name: install deps
run: pnpm i --frozen-lockfile=false
- name: Build
run: pnpm build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: /language:javascript-typescript
codacy:
needs: cql-scan
permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
name: Codacy Security Scan
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Codacy Analysis CLI
uses: codacy/codacy-analysis-cli-action@master
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
upload: true
gh-code-scanning-compat: true
max-allowed-issues: 2147483647