chore: move auditing to own section #214
Workflow file for this run
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 | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
cache: yarn | |
- name: Install Dependencies | |
run: yarn --frozen-lockfile | |
- name: Format | |
run: yarn format | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: "chore: format code" | |
lint: | |
needs: format | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
cache: yarn | |
- name: Install Dependencies | |
run: yarn --frozen-lockfile | |
- name: Lint | |
run: yarn lint |