Skip to content

Commit 1f2b518

Browse files
committed
move style check outside of tests
1 parent 507177e commit 1f2b518

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,21 @@ name: Test
33
on: [push]
44

55
jobs:
6+
style:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: checkout
10+
uses: actions/checkout@v2
11+
with:
12+
fetch-depth: 0
13+
- name: Use Node.js ${{ matrix.node-version }}
14+
uses: actions/setup-node@v2
15+
with:
16+
node-version: ${{ matrix.node-version }}
17+
- name: Code Style Check
18+
run: npx -y prettier -c .
19+
# run: npx @biomejs/biome format . # do this after we move to biome config
20+
621
build:
722
strategy:
823
fail-fast: false
@@ -19,8 +34,6 @@ jobs:
1934
uses: actions/setup-node@v2
2035
with:
2136
node-version: ${{ matrix.node-version }}
22-
- name: Code Style Check
23-
run: npx -y prettier -c .
2437
- name: Cache Node Dependencies
2538
id: cache
2639
uses: actions/cache@v2

0 commit comments

Comments
 (0)