7474
7575jobs :
7676 test :
77- name : Run release
77+ name : Test
7878 runs-on : ubuntu-latest
7979 steps :
8080 - name : Init
8181 uses : actions/checkout@v4
8282 with :
8383 fetch-depth : 0
8484 - name : Install pnpm
85- uses : pnpm/action-setup@v2.2.4
85+ uses : pnpm/action-setup@v4
8686 - name : Setup Node
8787 uses : actions/setup-node@v4
8888 with :
@@ -114,7 +114,7 @@ jobs:
114114 if : steps.playwright-cache.outputs.cache-hit != 'true' && github.repository == 'nextauthjs/next-auth'
115115 run : |
116116 pnpm exec playwright install --with-deps chromium
117- - name : Run Docker E2E
117+ - name : Run E2E tests (Nextjs-Docker)
118118 continue-on-error : true
119119 if : false
120120 timeout-minutes : 15
@@ -148,29 +148,30 @@ jobs:
148148 name : playwright-traces
149149 path : " **/packages/utils/test-results/*/trace.zip"
150150 retention-days : 7
151- - uses : codecov/codecov-action@v3
151+ - uses : codecov/codecov-action@v4
152152 if : always()
153153 name : Coverage
154154 with :
155155 token : ${{ secrets.CODECOV_TOKEN }}
156156
157157 release-branch :
158158 name : Publish branch
159+ timeout-minutes : 120
159160 runs-on : ubuntu-latest
160161 needs : test
161162 if : ${{ github.event_name == 'push' }}
162163 environment : Production
163164 steps :
164165 - name : Init
165- uses : actions/checkout@v3
166+ uses : actions/checkout@v4
166167 with :
167168 fetch-depth : 0
168169 # Please upvote https://github.com/orgs/community/discussions/13836
169170 token : ${{ secrets.GH_PAT }}
170171 - name : Install pnpm
171- uses : pnpm/action-setup@v2.2.4
172+ uses : pnpm/action-setup@v4
172173 - name : Setup Node
173- uses : actions/setup-node@v3
174+ uses : actions/setup-node@v4
174175 with :
175176 cache : " pnpm"
176177 - name : Install dependencies
@@ -183,17 +184,18 @@ jobs:
183184 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
184185 release-pr :
185186 name : Publish PR
187+ timeout-minutes : 120
186188 runs-on : ubuntu-latest
187189 needs : test
188190 if : ${{ github.event_name == 'pull_request' }}
189191 environment : Preview
190192 steps :
191193 - name : Init
192- uses : actions/checkout@v3
194+ uses : actions/checkout@v4
193195 - name : Install pnpm
194- uses : pnpm/action-setup@v2.2.4
196+ uses : pnpm/action-setup@v4
195197 - name : Setup Node
196- uses : actions/setup-node@v3
198+ uses : actions/setup-node@v4
197199 with :
198200 node-version : 18
199201 cache : " pnpm"
@@ -228,11 +230,11 @@ jobs:
228230 if : ${{ github.event_name == 'workflow_dispatch' }}
229231 steps :
230232 - name : Init
231- uses : actions/checkout@v3
233+ uses : actions/checkout@v4
232234 - name : Install pnpm
233- uses : pnpm/action-setup@v2.2.4
235+ uses : pnpm/action-setup@v4
234236 - name : Setup Node
235- uses : actions/setup-node@v3
237+ uses : actions/setup-node@v4
236238 with :
237239 node-version : 18
238240 cache : " pnpm"
0 commit comments