Skip to content

CI

CI #151

Workflow file for this run

name: "CI"
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: "22 12 * * 0"
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: ["javascript"]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql-config.yml
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
test:
name: Test
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "19"
- name: Install
run: yarn install --frozen-lockfile
- name: Lint
run: yarn run lint:check
- name: Prettier
run: yarn run prettier:check