Update and rename pr-chores.yml to dev-chores.yml
This commit is contained in:
parent
0be215f59c
commit
1bcc011d6c
1 changed files with 7 additions and 5 deletions
39
.github/workflows/dev-chores.yml
vendored
Normal file
39
.github/workflows/dev-chores.yml
vendored
Normal file
|
@ -0,0 +1,39 @@
|
|||
name: Developer Chores
|
||||
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
linter-check:
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
node: [14]
|
||||
|
||||
steps:
|
||||
- name: Checkout 🛎
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Setup pnpm 🚧F
|
||||
uses: pnpm/action-setup@v2.2.2
|
||||
with:
|
||||
version: 7
|
||||
|
||||
- name: Setup node env 🏗
|
||||
uses: actions/setup-node@v3.4.1
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
check-latest: true
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Install dependencies 👨🏻💻
|
||||
run: pnpm install
|
||||
|
||||
- name: Run linter 👀
|
||||
run: pnpm format-write
|
||||
|
||||
- name: Comment Suggestions 🗒️
|
||||
uses: getsentry/action-git-diff-suggestions@main
|
||||
with:
|
||||
message: Prettier Suggestion
|
Loading…
Add table
Add a link
Reference in a new issue