chore(deps): bump wagoid/commitlint-github-action from 5.4.5 to 6.2.0 #1939
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: Analyze | |
on: | |
push: | |
branches: [ master, next ] | |
pull_request: | |
branches: next | |
schedule: | |
- cron: '38 22 * * 6' | |
jobs: | |
codeql: | |
name: CodeQL | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
strategy: | |
fail-fast: false | |
matrix: | |
language: [ 'javascript' ] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: github/codeql-action/init@v2 | |
with: | |
languages: ${{ matrix.language }} | |
- uses: github/codeql-action/autobuild@v2 | |
- uses: github/codeql-action/analyze@v2 | |
commitlint: | |
name: CommitLint | |
if: contains(fromJson('["push", "pull_request"]'), github.event_name) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: wagoid/[email protected] | |
with: | |
configFile: '.github/commitlint.config.cjs' | |
eslint: | |
name: ESLint | |
if: contains(fromJson('["push", "pull_request"]'), github.event_name) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- run: yarn install | |
- uses: reviewdog/action-eslint@v1 | |
with: | |
reporter: github-check | |
tsc: | |
name: TSC | |
if: contains(fromJson('["push", "pull_request"]'), github.event_name) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: cp settings.example.json settings.json | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- run: npm i -g npm@8 && npm i && npx genversion --es6 --semi src/lib/util/version.ts | |
- uses: EPMatt/[email protected] | |
with: | |
reporter: github-pr-review | |
prettier: | |
name: Prettier | |
if: contains(fromJson('["push", "pull_request"]'), github.event_name) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: creyD/[email protected] | |
with: | |
commit_message: 'refactor: prettify' | |
prettier_options: --write **/*.ts | |