Skip to content

Commit f8bc0e7

Browse files
committed
chore: ci tweaks
1 parent 4ae00d5 commit f8bc0e7

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

Diff for: .github/workflows/ci.yml

+17
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
branches:
88
- main
99

10+
permissions:
11+
pull-requests: write
12+
1013
jobs:
1114
lint:
1215
runs-on: ubuntu-latest
@@ -55,6 +58,20 @@ jobs:
5558
- name: Build package
5659
run: yarn build
5760

61+
size-limit:
62+
runs-on: ubuntu-latest
63+
name: Size Limit
64+
env:
65+
CI_JOB_NUMBER: 1
66+
steps:
67+
- name: Checkout
68+
uses: actions/checkout@v4
69+
70+
- name: Calculate Size
71+
- uses: andresz1/size-limit-action@v1
72+
with:
73+
github_token: ${{ secrets.GITHUB_TOKEN }}
74+
5875
test-website:
5976
runs-on: ubuntu-latest
6077
name: Test Website

Diff for: .github/workflows/size-limit.yml

-17
This file was deleted.

0 commit comments

Comments
 (0)