Skip to content

Commit 8326ee4

Browse files
authored
add tests - test passing options to api
* add tests for passing options * fix workflows * add node version * size * size * fix sizelimit * workflow' * size * fix branch * size
1 parent 67283f8 commit 8326ee4

File tree

8 files changed

+595
-10
lines changed

8 files changed

+595
-10
lines changed

.github/pull_request.yml .github/workflows/pull_request.yml

-9
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,3 @@ jobs:
2626

2727
- name: Build
2828
run: npm run build
29-
size:
30-
runs-on: ubuntu-latest
31-
env:
32-
CI_JOB_NUMBER: 1
33-
steps:
34-
- uses: actions/checkout@v4
35-
- uses: andresz1/size-limit-action@v1
36-
with:
37-
github_token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/size.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: "size"
2+
on:
3+
pull_request:
4+
branches:
5+
- main
6+
permissions:
7+
pull-requests: write
8+
jobs:
9+
size:
10+
runs-on: ubuntu-latest
11+
env:
12+
CI_JOB_NUMBER: 1
13+
steps:
14+
- uses: actions/checkout@v1
15+
- uses: andresz1/size-limit-action@v1
16+
with:
17+
github_token: ${{ secrets.GITHUB_TOKEN }}

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v20

0 commit comments

Comments
 (0)