We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e7d630 commit f1e4c53Copy full SHA for f1e4c53
.github/workflows/ci.yml
@@ -41,6 +41,37 @@ jobs:
41
- name: Run tests
42
run: yarn lint
43
44
+ prettier:
45
+ name: Prettier
46
+ runs-on: ubuntu-latest
47
+
48
+ steps:
49
+ - name: Checkout
50
+ uses: actions/checkout@v3
51
52
+ - name: Cache .yarn/cache
53
+ uses: actions/cache@v3
54
+ env:
55
+ cache-name: yarn-cache
56
+ with:
57
+ path: .yarn/cache
58
+ key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
59
+ restore-keys: |
60
+ ${{ runner.os }}-${{ env.cache-name }}
61
62
+ - name: Use Node.js
63
+ uses: actions/setup-node@v3
64
65
+ node-version: '16'
66
67
+ - name: Install dependencies
68
+ run: yarn --immutable
69
70
+ HUSKY: 0
71
72
+ - name: Prettier
73
+ run: yarn prettier
74
75
unit:
76
name: Unit tests
77
runs-on: ubuntu-latest
0 commit comments