Skip to content

build: successfully running with node dist/index.js locally #21

build: successfully running with node dist/index.js locally

build: successfully running with node dist/index.js locally #21

name: "Package Size Test"
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: List files in build directory
run: ls -R build/static/js/
- name: Run Package Size Badge Action
uses: ./
with:
path: "build/static/js/*.js"
preset: "app"
label: "Bundle Size"
limit: "500"
color: "green"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ACTIONS_RUNNER_DEBUG: true
timeout-minutes: 10