mirror of
https://github.com/captbaritone/webamp.git
synced 2026-01-23 18:25:30 +00:00
* Upgrade Node.js to v22 LTS across the entire repo - Update CI workflows (.github/workflows/ci.yml, code-size.yml) to use Node.js 22.x - Update Netlify config to use Node.js 22.11.0 - Update all package.json engines to require Node.js 22.0.0+ - Add .nvmrc file with Node.js 22 for local development - Update documentation to reflect Node.js 22+ requirement - Update skin-database scripts to use Node.js 22 - Tested locally with nvm and confirmed builds work correctly Node.js v22 is the current LTS version and provides improved performance and security features. All packages now require Node.js 22+ to ensure consistency across development, CI, and production environments. * Don't update node version here
26 lines
654 B
YAML
26 lines
654 B
YAML
name: Compressed Size
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Install pnpm
|
|
uses: pnpm/action-setup@v2
|
|
with:
|
|
version: 9.12.0
|
|
- name: Use Node.js 22.x
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 22.x
|
|
cache: "pnpm"
|
|
- name: Install Dependencies
|
|
run: pnpm install --frozen-lockfile
|
|
- uses: preactjs/compressed-size-action@v2
|
|
with:
|
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
|
build-script: "deploy"
|
|
pattern: "./packages/webamp/built/*bundle.min.js"
|