File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed
Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,11 @@ concurrency:
1313 cancel-in-progress : true
1414
1515jobs :
16- permissions :
17- contents : read
1816 lint :
1917 name : Lint
2018 runs-on : ubuntu-latest
19+ permissions :
20+ contents : read
2121
2222 steps :
2323 - uses : actions/checkout@v4
3737 format :
3838 name : Format
3939 runs-on : ubuntu-latest
40+ permissions :
41+ contents : read
42+
4043 steps :
4144 - uses : actions/checkout@v4
4245
5558 build-and-test-node :
5659 name : " [node] build and test"
5760 runs-on : ubuntu-latest
61+ permissions :
62+ contents : read
63+
5864 timeout-minutes : 20
5965 strategy :
6066 fail-fast : false
8086 build-and-test-bun :
8187 name : " [bun] build and test"
8288 runs-on : ubuntu-latest
89+ permissions :
90+ contents : read
8391 timeout-minutes : 20
8492 strategy :
8593 fail-fast : false
@@ -103,9 +111,9 @@ jobs:
103111
104112 build-and-test-other-envs :
105113 name : " [happy-dom, edge-runtime] test"
114+ runs-on : ubuntu-latest
106115 permissions :
107116 contents : read
108- runs-on : ubuntu-latest
109117 timeout-minutes : 20
110118 strategy :
111119 fail-fast : false
@@ -132,10 +140,10 @@ jobs:
132140 run : pnpm run test:unit-edge
133141
134142 publish-preview :
135- permissions :
136- pull-requests : write # to be able to comment on the pull requests
137143 name : " Publish preview"
138144 runs-on : ubuntu-latest
145+ permissions :
146+ pull-requests : write # to be able to comment on the pull requests
139147 needs : build-and-test-node
140148 if : success()
141149 timeout-minutes : 20
You can’t perform that action at this time.
0 commit comments