Skip to content
Snippets Groups Projects
Unverified Commit 4cbfdb5f authored by Alex Yang's avatar Alex Yang Committed by GitHub
Browse files

ci: only run in pull request (#1669)

parent 9767d1c0
No related branches found
No related tags found
No related merge requests found
...@@ -119,6 +119,7 @@ jobs: ...@@ -119,6 +119,7 @@ jobs:
size-limit: size-limit:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
name: Size Limit name: Size Limit
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
...@@ -132,12 +133,13 @@ jobs: ...@@ -132,12 +133,13 @@ jobs:
run: pnpm install run: pnpm install
- name: Build llamaindex - name: Build llamaindex
run: pnpm run build run: pnpm run build
- uses: andresz1/size-limit-action@v1 - uses: andresz1/size-limit-action@94bc357df29c36c8f8d50ea497c3e225c3c95d1d
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
directory: e2e/examples/vite-import-llamaindex directory: e2e/examples/vite-import-llamaindex
skip_step: "install" skip_step: "install"
build_script: build build_script: build
package_manager: pnpm
typecheck-examples: typecheck-examples:
runs-on: ubuntu-latest runs-on: ubuntu-latest
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment