-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (32 loc) · 927 Bytes
/
outdated.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
name: outdated
on:
schedule:
- cron: '0 7 1 * *'
jobs:
outdated:
runs-on: ubuntu-latest
steps:
- name: Install Just
uses: extractions/setup-just@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout code
uses: actions/checkout@v4
- name: Pulling Docker images
run: just compose pull
- name: Building Docker images
run: just compose build
- name: Maintain Composer cache
uses: actions/cache@v4
with:
path: api/.cache/composer
key: composer-${{ hashFiles('api/composer.lock') }}
restore-keys: composer-
- name: Maintain pnpm cache
uses: actions/cache@v4
with:
path: app/.cache/node
key: pnpm-${{ hashFiles('app/pnpm-lock.yaml') }}
restore-keys: pnpm-
- name: Check for outdated packages
run: just outdated