File tree Expand file tree Collapse file tree 1 file changed +13
-12
lines changed Expand file tree Collapse file tree 1 file changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ name: Test
2
2
3
3
on :
4
4
push :
5
- branches : [main]
5
+ branches : [main]
6
6
pull_request :
7
- types : [opened, synchronize]
7
+ types : [opened, synchronize]
8
8
9
9
jobs :
10
10
lint :
@@ -15,32 +15,33 @@ jobs:
15
15
- name : Install Node.js
16
16
uses : actions/setup-node@v3
17
17
with :
18
- node-version : 16
18
+ node-version : 16
19
19
20
20
- name : Install pnpm
21
21
uses : pnpm/action-setup@v2
22
22
with :
23
- version : 8
24
- run_install : false
23
+ version : 8
24
+ run_install : false
25
25
26
26
- name : Get pnpm store directory
27
27
shell : bash
28
28
run : |
29
- echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
29
+ echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
30
+ env :
31
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
30
32
31
33
- uses : actions/cache@v3
32
34
name : Setup pnpm cache
33
35
with :
34
- path : ${{ env.STORE_PATH }}
35
- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('web/**/pnpm-lock.yaml') }}
36
- restore-keys : |
37
- ${{ runner.os }}-pnpm-store-
36
+ path : ${{ env.STORE_PATH }}
37
+ key : ${{ runner.os }}-pnpm-store-${{ hashFiles('web/**/pnpm-lock.yaml') }}
38
+ restore-keys : |
39
+ ${{ runner.os }}-pnpm-store-
38
40
39
41
- name : Install dependencies
40
42
run : pnpm install --frozen-lockfile --strict-peer-dependencies
41
- working-directory : web
42
43
env :
43
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
44
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
44
45
45
46
- name : Lint
46
47
run : pnpm run lint:ci
You can’t perform that action at this time.
0 commit comments