ci: move bundle analysis to separate job (#4361)
This commit is contained in:
parent
c2fb5438af
commit
a7f03c25fd
4 changed files with 36 additions and 5 deletions
29
.github/workflows/ci-bundle.yml
vendored
Normal file
29
.github/workflows/ci-bundle.yml
vendored
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
name: CI-Bundle
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
secrets:
|
||||
CODECOV_TOKEN:
|
||||
required: false
|
||||
|
||||
jobs:
|
||||
bundle_analysis:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Setup node
|
||||
id: node
|
||||
uses: actions/setup-node@v6
|
||||
|
||||
- name: Install npm dependencies
|
||||
run: npm install
|
||||
|
||||
- name: Build
|
||||
env:
|
||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
run: npm run build
|
||||
Loading…
Add table
Add a link
Reference in a new issue