Skip to content

Release v2.0.15 (#3478) #2534

Release v2.0.15 (#3478)

Release v2.0.15 (#3478) #2534

Workflow file for this run

name: Diff
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- main
permissions: {}
jobs:
Build:
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Pnpm
run: |
npm install -g corepack@latest --force
corepack enable
- name: Setup Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version-file: '.nvmrc'
package-manager-cache: false
- name: Install Dependencies and Build
run: |
pnpm install
- name: Build Demo Project
run: |
cd website
pnpm install
RSDOCTOR=1 pnpm run build
- name: Report Compressed Size
uses: web-infra-dev/rsdoctor-action@96c3d1f7e1d2abf41c1203c3486364c9c4561b60 # main
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
file_path: 'website/doc_build/diff-rsdoctor/**/rsdoctor-data.json'
target_branch: 'main'