File tree Expand file tree Collapse file tree 1 file changed +22
-6
lines changed Expand file tree Collapse file tree 1 file changed +22
-6
lines changed Original file line number Diff line number Diff line change 11name : ' Tests: Unit'
22on :
3- - push
4- - pull_request
3+ push :
4+ branches : [main]
5+ pull_request :
6+ branches : [main]
7+ types : [opened, synchronize]
8+
59jobs :
6- unit_tests :
10+ unit-tests :
711 name : Run unit tests
812 runs-on : ubuntu-latest
13+
914 steps :
15+ - uses : actions/cache@v3
16+ with :
17+ path : ~/.pnpm-store
18+ key :
19+ ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
20+ restore-keys : |
21+ ${{ runner.os }}-pnpm-
22+ - uses : actions/checkout@v3
10231124 with :
1225 version : 6.0.2
13- - uses : actions/checkout@v3
1426 - uses : actions/setup-node@v3
15- - name : Install pnpm
16- run : pnpm i
27+ with :
28+ node-version : 18.x
29+ - name : Install dependencies
30+ run : pnpm install
1731 - name : Build
1832 run : pnpm run build
1933 env :
2034 PUBLIC_FATHOM_ID : ${{ secrets.PUBLIC_FATHOM_ID }}
2135 PUBLIC_FATHOM_URL : ${{ secrets.PUBLIC_FATHOM_URL }}
2236 - name : Test
2337 run : pnpm run test:ci
38+ - name : Check spelling
39+ run : pnpm run cspell
You can’t perform that action at this time.
0 commit comments