-
Notifications
You must be signed in to change notification settings - Fork 3
35 lines (35 loc) · 1.04 KB
/
prettier.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
name: Prettier
on: [push]
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install yarn (renegade.fi)
uses: borales/[email protected]
with:
cmd: install
dir: "renegade.fi"
- name: Prettier Check (renegade.fi)
uses: borales/[email protected]
with:
cmd: format:check
dir: "renegade.fi"
# - name: Prettier Check (docs.renegade.fi)
# uses: borales/[email protected]
# with:
# cmd: prettier
# dir: "docs.renegade.fi"
- uses: actions/checkout@v2
- uses: pnpm/[email protected]
with:
version: latest
- name: Install dependencies (trade.renegade.fi)
run: pnpm install --no-frozen-lockfile
working-directory: ./trade.renegade.fi
- name: Prettier Check (trade.renegade.fi)
run: pnpm run format:check
working-directory: ./trade.renegade.fi