-
Notifications
You must be signed in to change notification settings - Fork 73
37 lines (35 loc) · 924 Bytes
/
deps.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Keep dependencies up-to-date
on:
schedule:
- cron: "0 0 * * SUN"
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
permissions:
contents: write
services:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: keepitsecret
POSTGRES_USER: testdb
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
env:
DATABASE_URL: postgres://testdb:keepitsecret@localhost:5432/testdb
steps:
- uses: textbook/take-action@nodejs
with:
node-version: 20
- uses: textbook/take-action@playwright
- run: |
git config --global user.name "gh-actions"
git config --global user.email "[email protected]"
- run: npm run migration up
- run: ./bin/up-to-date.sh