-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (32 loc) · 884 Bytes
/
quality.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Code Quality
on:
pull_request:
branches:
- master
jobs:
pre-commit:
runs-on: ubuntu-latest
name: Check all files with pre-commit
timeout-minutes: 30
steps:
- name: Checkout code so that it is available to use in the executing runner
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 21.7.3
- name: Setup pnmp
uses: pnpm/[email protected]
with:
version: 9.9.0
run_install: false
- name: Setup Yarn
run: |
npm install -g [email protected]
yarn --version
- name: Install dependencies
run: make deps-notion && make deps && make build-notion
- name: Check all files with pre-commit
uses: pre-commit/[email protected]