Update and rename pr-chores.yml to dev-chores.yml

This commit is contained in:
Core 2022-10-18 01:35:17 +01:00 committed by GitHub
parent 0be215f59c
commit 1bcc011d6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

39
.github/workflows/dev-chores.yml vendored Normal file
View 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