Skip to content

build(deps-dev): bump @cloudflare/workers-types from 4.20260608.1 to 5.20260706.1 #992

build(deps-dev): bump @cloudflare/workers-types from 4.20260608.1 to 5.20260706.1

build(deps-dev): bump @cloudflare/workers-types from 4.20260608.1 to 5.20260706.1 #992

Workflow file for this run

---
name: Build Performance
# Note! you can't safely use "pull_request_target" here
# This workflow is mostly useful for "internal PRs"
# External PRs won't be able to post a PR comment
#
# See https://github.com/preactjs/compressed-size-action/issues/54
# See https://securitylab.github.com/research/github-actions-preventing-pwn-requests
on:
pull_request:
branches: [main, next]
paths:
- "crowdin.yml"
- "sidebars.ts"
- "package.json"
- "pnpm-lock.yaml"
- "docusaurus.config.ts"
- "src/**"
- "static/**"
- "!docs/**"
- "!blog/**"
- "!i18n/**"
- "!community/**"
- "!ecosystem/**"
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
env:
URL: "https://wiki.zshell.dev"
jobs:
build-size:
name: Build Size Report
timeout-minutes: 30
runs-on: ubuntu-latest
permissions:
checks: write # for preactjs/compressed-size-action to create and update the checks
contents: read # for actions/checkout to fetch code
pull-requests: write # for preactjs/compressed-size-action to write a PR review
issues: write # for preactjs/compressed-size-action to create comments
steps:
- name: "⤵️ Check out code from GitHub"
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
fetch-depth: 0
- name: "📦 Setup pnpm"
uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
- name: "⎔ Setup node"
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version: "22"
cache: "pnpm"
- uses: preactjs/compressed-size-action@66325aad6443cb7cf89c4bfcd414aea2367cda94 # 2.9.1
with:
install-script: pnpm i --frozen-lockfile
build-script: "build:en"
pattern: "{build/assets/js/*.js,build/assets/css/*.css,build/**/*.html,.docusaurus/globalData.json,build/blog/**/swiss-army-knife-for-zsh/*}"
exclude: "{./build/manifest.json,./build/**/*.xml,**/*.map,**/node_modules/**,build/assets/**/*.ttf}"
strip-hash: '\.([^;]\w{7})\.'
minimum-change-threshold: 30
compression: none
build-time:
name: Build Time Perf
timeout-minutes: 30
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: "⤵️ Check out code from GitHub"
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
fetch-depth: 0
- name: "📦 Setup pnpm"
uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
- name: "⎔ Setup node"
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version: "22"
cache: "pnpm"
- run: pnpm i --frozen-lockfile
env:
NODE_ENV: development
# Ensure build with a cold cache does not increase too much
- name: "Build (cold cache)"
run: pnpm build:en
timeout-minutes: 8
# Ensure build with a warm cache does not increase too much
- name: "Build (warm cache)"
run: pnpm build:en
timeout-minutes: 2