pr chores

This commit is contained in:
Core 2022-09-11 00:01:56 +01:00
parent 6138b81838
commit 6a4346028e
No known key found for this signature in database
GPG key ID: 2AB8327FBA02D1C0

38
.github/workflows/pr-choes.yml vendored Normal file
View file

@ -0,0 +1,38 @@
name: PR 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 👀
uses: wearerequired/lint-action@v2
with:
eslint: true
prettier: true
prettier_args: "'**/*.{js,json,ts,css,vue,less}'"