-
Notifications
You must be signed in to change notification settings - Fork 11
42 lines (40 loc) · 1.47 KB
/
update-pnpm.yml
File metadata and controls
42 lines (40 loc) · 1.47 KB
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
38
39
40
41
42
name: Update pnpm
on:
schedule:
- cron: "0 2 1 * *"
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
token: ${{ secrets.MAINTENANCE_TOKEN }}
- name: Fetch latest pnpm version and update package.json
run: |
LATEST=$(npm view pnpm version)
npm pkg set packageManager=pnpm@${LATEST}
- name: Run Common Setup
uses: ./.github/actions/setup
- name: Install golangci-lint
run: go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest
- name: Update pnpm dependencies
run: just update-pnpm
- name: Migrate biome configuration
run: pnpm biome migrate --write
- name: Build Templates
run: just build-templates
- name: Format code
run: just fmt
- name: Run Linter
run: just lint
- name: Run Tests
run: just test
- name: Commit updates
uses: stefanzweifel/git-auto-commit-action@v7
with:
commit_message: Update pnpm dependencies
commit_user_name: Maintenance Bob
commit_user_email: bob@archlinux.de
commit_author: Maintenance Bob <bob@archlinux.de>