Skip to content

Commit 8be456d

Browse files
committed
fetch-depth
1 parent 1b4a6e3 commit 8be456d

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

.github/workflows/release.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ jobs:
2929
cache: 'yarn'
3030
- run: yarn install
3131
- run: yarn build
32-
- uses: pkg-size/action@v1
33-
env:
34-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3532
- run: yarn test
3633

3734
build-and-release:
@@ -52,3 +49,8 @@ jobs:
5249
env:
5350
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5451
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
52+
- uses: pkg-size/action@v1
53+
with:
54+
build-command: false
55+
env:
56+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@
112112
"eslint-plugin-storybook": "^0.11.0",
113113
"husky": "^9.1.7",
114114
"json": "^11.0.0",
115+
"pkg-size": "^2.4.0",
115116
"prettier": "^3.3.3",
116117
"pretty-quick": "^4.0.0",
117118
"react": "^18.0.0",

yarn.lock

+10
Original file line numberDiff line numberDiff line change
@@ -2878,6 +2878,7 @@ __metadata:
28782878
json: "npm:^11.0.0"
28792879
maath: "npm:^0.10.8"
28802880
meshline: "npm:^3.3.1"
2881+
pkg-size: "npm:^2.4.0"
28812882
prettier: "npm:^3.3.3"
28822883
pretty-quick: "npm:^4.0.0"
28832884
react: "npm:^18.0.0"
@@ -10290,6 +10291,15 @@ __metadata:
1029010291
languageName: node
1029110292
linkType: hard
1029210293

10294+
"pkg-size@npm:^2.4.0":
10295+
version: 2.4.0
10296+
resolution: "pkg-size@npm:2.4.0"
10297+
bin:
10298+
pkg-size: bin/cli.js
10299+
checksum: 10c0/57656b9e45564ecfc232163cf17bbca4e96549c4ee02d39daa91cee1fcd2aea8ae717c24616561037f5cdc39314e6e0b32a34f3d502a75d9f25dce7ec0e44c1e
10300+
languageName: node
10301+
linkType: hard
10302+
1029310303
"playwright-core@npm:1.45.2":
1029410304
version: 1.45.2
1029510305
resolution: "playwright-core@npm:1.45.2"

0 commit comments

Comments
 (0)