Skip to content

[wip]feat: 增加测试案例 #59

[wip]feat: 增加测试案例

[wip]feat: 增加测试案例 #59

name: Compressed Size
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: pnpm
- uses: preactjs/compressed-size-action@v2
with:
pattern: dist/index.js
repo-token: ${{ secrets.GITHUB_TOKEN }}