Bump @fortawesome/fontawesome-svg-core from 6.6.0 to 6.7.2 #304
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: CI | |
on: pull_request | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
eslint: | |
name: ESLint | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
security-events: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install dependencies | |
run: npm ci | |
- name: Install ESLint formatter | |
run: npm install @microsoft/[email protected] | |
- name: Run ESLint | |
run: npm run lint -- | |
--max-warnings=0 | |
--format @microsoft/eslint-formatter-sarif | |
--output-file eslint-results.sarif | |
- name: Upload analysis results to GitHub | |
if: always() | |
uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: eslint-results.sarif | |
wait-for-processing: true | |
typecheck: | |
name: Typecheck | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install dependencies | |
run: npm ci | |
- name: Run typecheck | |
run: npm run typecheck | |
prettier: | |
name: Prettier | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install dependencies | |
run: npm ci | |
- name: Run Prettier | |
run: npm run prettier:check | |
deploy: | |
name: Deploy | |
if: github.base_ref == 'master' | |
needs: [eslint, typecheck, prettier] | |
uses: ./.github/workflows/cd.yml | |
secrets: inherit |