File tree 3 files changed +12
-5
lines changed
3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 4
4
branches :
5
5
- main
6
6
pull_request :
7
+ permissions :
8
+ contents : read
9
+ pull-requests : read
7
10
jobs :
8
11
lint :
9
12
runs-on : buildjet-4vcpu-ubuntu-2204
13
16
- name : Checkout
14
17
uses : actions/checkout@v4
15
18
- name : pnpm setup
16
- uses : pnpm/action-setup@v4
19
+ uses : pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda
17
20
- name : pnpm Cache
18
21
uses : buildjet/cache@v4
19
22
with :
Original file line number Diff line number Diff line change 4
4
branches :
5
5
- main
6
6
pull_request :
7
+ permissions :
8
+ contents : read
9
+ pull-requests : read
7
10
jobs :
8
11
build :
9
12
runs-on : buildjet-4vcpu-ubuntu-2204
23
26
pnpm config set script-shell "/usr/bin/bash"
24
27
25
28
- name : pnpm Cache
26
- uses : buildjet/cache@v4
29
+ uses : buildjet/cache@3e70d19e31d6a8030aeddf6ed8dbe601f94d09f4
27
30
with :
28
31
path : |
29
32
~/.pnpm-store
38
41
run : pnpm install --frozen-lockfile
39
42
40
43
- name : turborepo Cache
41
- uses : buildjet/cache@v4
44
+ uses : buildjet/cache@3e70d19e31d6a8030aeddf6ed8dbe601f94d09f4
42
45
with :
43
46
path : |
44
47
.turbo
63
66
corepack prepare [email protected] --activate
64
67
65
68
- name : Restore dependencies
66
- uses : buildjet/cache@v4
69
+ uses : buildjet/cache@3e70d19e31d6a8030aeddf6ed8dbe601f94d09f4
67
70
with :
68
71
path : |
69
72
~/.pnpm-store
72
75
key : ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
73
76
74
77
- name : turborepo Cache
75
- uses : buildjet/cache@v4
78
+ uses : buildjet/cache@3e70d19e31d6a8030aeddf6ed8dbe601f94d09f4
76
79
with :
77
80
path : |
78
81
.turbo
Original file line number Diff line number Diff line change 5
5
branches :
6
6
- main
7
7
8
+
8
9
concurrency : ${{ github.workflow }}-${{ github.ref }}
9
10
10
11
jobs :
You can’t perform that action at this time.
0 commit comments