Skip to content

ci: 部分 GitHub Action CI 脚本升级 #6

ci: 部分 GitHub Action CI 脚本升级

ci: 部分 GitHub Action CI 脚本升级 #6

Workflow file for this run

name: 📦 size limit
on:
pull_request:
types: [opened, synchronize]
permissions:
pull-requests: write
jobs:
size:
runs-on: ubuntu-latest
env:
CI_JOB_NUMBER: 1
strategy:
matrix:
node-version: [18]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Install dependencies
run: yarn
- uses: andresz1/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
build_script: build:umd
script: build:size-limit-json
skip_step: install