Skip to content

Commit 4a8012b

Browse files
committed
ci: dump pnpm version
1 parent cbe41a2 commit 4a8012b

File tree

4 files changed

+27
-37
lines changed

4 files changed

+27
-37
lines changed

.github/workflows/frontend-bundle-analysis.yml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ name: Frontend Bundle Analysis
33
on:
44
pull_request:
55
push:
6-
branches: [v3]
6+
branches: [
7+
v3
8+
]
79
workflow_dispatch:
810

911
defaults:
@@ -45,20 +47,7 @@ jobs:
4547
- name: Install Dependencies
4648
run: pnpm install
4749

48-
- name: Restore Next.js Build
49-
uses: actions/cache@v3
50-
id: restore-build-cache
51-
env:
52-
cache-name: cache-next-build
53-
with:
54-
# if you use a custom build directory, replace all instances of `.next` in this file with your build directory
55-
# ex: if your app builds to `dist`, replace `.next` with `dist`
56-
path: packages/frontend/.next/cache
57-
# change this if you prefer a more strict cache
58-
key: ${{ runner.os }}-build-${{ env.cache-name }}
59-
6050
- name: Build Next.js App
61-
# change this if your site requires a custom build command
6251
run: pnpm run build:frontend
6352

6453
# Here's the first place where next-bundle-analysis' own script is used

.github/workflows/test-suite.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,27 @@ name: Test Suite
22

33
on:
44
push:
5-
branches: ["v3","v3-dev"]
5+
branches: [
6+
"v3",
7+
"v3-dev"
8+
]
69
pull_request:
7-
types: [opened, synchronize]
10+
types: [
11+
opened,
12+
synchronize
13+
]
814

915
jobs:
1016
test:
1117
name: Build and Test
1218
timeout-minutes: 15
1319
runs-on: ubuntu-latest
14-
# To use Remote Caching, uncomment the next lines and follow the steps below.
1520
env:
1621
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
1722
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
1823

1924
steps:
20-
- name: Check out code
21-
uses: actions/checkout@v3
22-
with:
23-
fetch-depth: 2
25+
- uses: actions/checkout@v4
2426

2527
- name: Cache turbo build setup
2628
uses: actions/cache@v3
@@ -30,12 +32,10 @@ jobs:
3032
restore-keys: |
3133
${{ runner.os }}-turbo-
3234
33-
- uses: pnpm/[email protected]
34-
with:
35-
version: 6.32.2
35+
- uses: pnpm/[email protected]
3636

37-
- name: Setup Node.js environment
38-
uses: actions/setup-node@v3
37+
- name: Install Node.js
38+
uses: actions/setup-node@v4
3939
with:
4040
node-version: 18
4141
cache: 'pnpm'

packages/frontend/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"remark-math": "^5.1.1",
3838
"sass": "^1.59.2",
3939
"shared": "workspace:*",
40-
"swr": "^2.1.3",
40+
"swr": "^2.2.4",
4141
"zustand": "^4.3.6"
4242
},
4343
"devDependencies": {
@@ -50,4 +50,4 @@
5050
"typescript": "*"
5151
},
5252
"packageManager": "[email protected]"
53-
}
53+
}

pnpm-lock.yaml

Lines changed: 10 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)