Skip to content

Commit 59f8cf8

Browse files
Pier DoliquePerdolique
authored andcommitted
chore: update dependencies and improve CI workflow
- πŸ“¦ vue: v3.5.24 β†’ v3.5.25 - πŸ“¦ vite: v7.2.2 β†’ v7.2.4 - πŸ“¦ @vitejs/plugin-vue: v6.0.1 β†’ v6.0.2 - πŸ“¦ @vitejs/plugin-vue-jsx: v5.1.1 β†’ v5.1.2 - πŸ“¦ @vue/babel-plugin-jsx: v1.5.0 β†’ v2.0.1 - πŸ“¦ @vue/devtools-core: v8.0.3 β†’ v8.0.5 - πŸ“¦ @vue/devtools-kit: v8.0.3 β†’ v8.0.5 - οΏ½οΏ½ @dxup/nuxt: v0.2.1 β†’ v0.2.2 - πŸ“¦ @iconify/collections: v1.0.617 β†’ v1.0.621 - πŸ“¦ @emnapi/core: v1.7.0 β†’ v1.7.1 - πŸ“¦ baseline-browser-mapping: v2.8.27 β†’ v2.8.31 - πŸ“¦ caniuse-lite: v1.0.30001754 β†’ v1.0.30001757 - πŸ“¦ csstype: v3.1.3 β†’ v3.2.3 - πŸ“¦ default-browser: v5.3.0 β†’ v5.4.0 - πŸ“¦ default-browser-id: v5.0.0 β†’ v5.0.1 - πŸ“¦ electron-to-chromium: v1.5.250 β†’ v1.5.259 - πŸ“¦ mdast-util-to-hast: v13.2.0 β†’ v13.2.1 - πŸ“¦ seroval: v1.3.2 β†’ v1.4.0 - πŸ“¦ unplugin-vue-router: v0.16.1 β†’ v0.16.2 - πŸ“¦ vite-node: v5.0.0 β†’ v5.2.0 - πŸ”₯ Removed duplicate knitwork v1.2.0 - πŸ”₯ Removed duplicate unplugin v2.3.10 - πŸ”₯ Removed duplicate unstorage v1.17.2 - πŸ”₯ Removed duplicate youch v4.1.0-beta.12 - πŸ”₯ Removed outdated @rolldown/pluginutils v1.0.0-beta.29 - ♻️ Consolidated database migration workflows - βœ… Added database seeding step for staging environment - πŸ”§ Updated workflow to use reusable pnpm setup action
1 parent e12a318 commit 59f8cf8

4 files changed

Lines changed: 280 additions & 410 deletions

File tree

β€Ž.github/workflows/database-migration-production.ymlβ€Ž

Lines changed: 0 additions & 31 deletions
This file was deleted.
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Database migration (staging)
1+
name: Database migration
22

33
permissions:
44
contents: read
@@ -7,29 +7,29 @@ on:
77
pull_request:
88
branches:
99
- master
10-
paths:
11-
- 'server/database/migrations/**'
12-
- .github/workflows/database-migration-staging.yml
10+
types:
11+
- opened
12+
- synchronize
13+
push:
14+
branches:
15+
- master
1316

1417
jobs:
1518
migration:
1619
runs-on: ubuntu-24.04
17-
environment: staging
20+
environment: ${{ github.event_name == 'pull_request' && 'staging' || 'production' }}
1821
steps:
1922
- name: Checkout code
20-
uses: actions/checkout@v5
21-
- uses: pnpm/action-setup@v4
22-
- name: Setup Node.js
23-
uses: actions/setup-node@v6
23+
uses: actions/checkout@v6
24+
- uses: Perdolique/.github/.github/actions/setup-pnpm@master
2425
with:
25-
node-version-file: .node-version
26-
- name: Install dependencies
27-
run: pnpm install --frozen-lockfile
26+
install-dependencies: true
2827
- name: Run database migration
2928
env:
3029
DATABASE_URL: ${{ secrets.DATABASE_URL }}
3130
run: pnpm run db:migrate
3231
- name: Seed database
32+
if: github.event_name == 'pull_request'
3333
env:
3434
DATABASE_URL: ${{ secrets.DATABASE_URL }}
3535
run: pnpm run db:seed

β€Žpackage.jsonβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"modern-normalize": "3.0.1",
3030
"nuxt": "4.2.1",
3131
"ulid": "3.0.1",
32-
"vue": "3.5.24"
32+
"vue": "3.5.25"
3333
},
3434
"devDependencies": {
3535
"@iconify-json/streamline-emojis": "1.2.4",
@@ -53,5 +53,5 @@
5353
"wrangler": "4.50.0",
5454
"ws": "8.18.3"
5555
},
56-
"packageManager": "pnpm@10.22.0"
56+
"packageManager": "pnpm@10.23.0"
5757
}

0 commit comments

Comments
Β (0)