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 68022e3 commit 51b8a04Copy full SHA for 51b8a04
.github/workflows/checks.yml
@@ -0,0 +1,34 @@
1
+name: checks
2
+
3
+# Controls when the action will run.
4
+on:
5
+ push:
6
7
+jobs:
8
+ checks:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v3
12
+ - uses: actions/setup-node@v3
13
+ with:
14
+ node-version-file: '.nvmrc'
15
+ cache: 'yarn'
16
17
+ - run: yarn install
18
19
+ - name: yarn deduplicate
20
+ run: |
21
+ DUPE_LIST=$(yarn run -s yarn-deduplicate --list)
22
+ DUPES=$(printf "$DUPE_LIST" | wc -l | tr -d ' ')
23
+ if [ "$DUPES" -eq 0 ]; then
24
+ echo "no duplicate resolutions to resolve"
25
+ exit 0
26
+ fi
27
+ printf "duplicates found: \n\n%s" "$DUPE_LIST"
28
+ exit 1
29
30
+ - name: Check TSC types
31
+ run: yarn check-types
32
33
+ - name: ESLint
34
+ run: yarn lint
0 commit comments