Skip to content

Commit 844fd1b

Browse files
committed
fetch-depth
1 parent 1b4a6e3 commit 844fd1b

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ concurrency:
1313
group: ${{ github.workflow }}-${{ github.ref }}
1414
cancel-in-progress: true
1515

16+
permissions:
17+
id-token: write
18+
contents: read
19+
1620
jobs:
1721
test:
1822
runs-on: ubuntu-latest
@@ -30,6 +34,8 @@ jobs:
3034
- run: yarn install
3135
- run: yarn build
3236
- uses: pkg-size/action@v1
37+
with:
38+
build-command: false
3339
env:
3440
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3541
- run: yarn test

package.json

Lines changed: 1 addition & 0 deletions
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

Lines changed: 10 additions & 0 deletions
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)