🎨 format code

This commit is contained in:
Tw93
2025-08-29 18:15:05 +08:00
parent 9cb5db8bd3
commit f573e30284
5 changed files with 16 additions and 18 deletions

View File

@@ -5,14 +5,14 @@ description: One-stop setup with smart presets
inputs: inputs:
mode: mode:
description: 'Setup mode: full, node-only, rust-only, or build' description: "Setup mode: full, node-only, rust-only, or build"
required: false required: false
default: 'full' default: "full"
outputs: outputs:
setup-complete: setup-complete:
description: Setup completion status description: Setup completion status
value: 'true' value: "true"
runs: runs:
using: composite using: composite
@@ -56,14 +56,14 @@ runs:
if: env.SETUP_NODE == 'true' if: env.SETUP_NODE == 'true'
uses: pnpm/action-setup@v4 uses: pnpm/action-setup@v4
with: with:
version: '10.15.0' version: "10.15.0"
run_install: false run_install: false
- name: Setup Node.js - name: Setup Node.js
if: env.SETUP_NODE == 'true' if: env.SETUP_NODE == 'true'
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: '22' node-version: "22"
cache: pnpm cache: pnpm
- name: Install dependencies - name: Install dependencies

View File

@@ -1,8 +1,8 @@
name: Build App With Pake CLI name: Build App With Pake CLI
env: env:
NODE_VERSION: '22' NODE_VERSION: "22"
PNPM_VERSION: '10.15.0' PNPM_VERSION: "10.15.0"
on: on:
workflow_dispatch: workflow_dispatch:

View File

@@ -8,8 +8,8 @@ on:
workflow_dispatch: workflow_dispatch:
env: env:
NODE_VERSION: '22' NODE_VERSION: "22"
PNPM_VERSION: '10.15.0' PNPM_VERSION: "10.15.0"
permissions: permissions:
actions: write actions: write
@@ -34,7 +34,6 @@ jobs:
- name: Setup Development Environment - name: Setup Development Environment
uses: ./.github/actions/setup-env uses: ./.github/actions/setup-env
- name: Auto-fix Prettier formatting - name: Auto-fix Prettier formatting
run: npx prettier --write . --ignore-unknown run: npx prettier --write . --ignore-unknown
@@ -66,7 +65,6 @@ jobs:
with: with:
mode: build mode: build
- name: Check EditorConfig compliance - name: Check EditorConfig compliance
uses: editorconfig-checker/action-editorconfig-checker@main uses: editorconfig-checker/action-editorconfig-checker@main
@@ -163,7 +161,6 @@ jobs:
with: with:
mode: build mode: build
- name: Build CLI - name: Build CLI
run: pnpm run cli:build run: pnpm run cli:build

View File

@@ -1,8 +1,8 @@
name: Build Single Popular App name: Build Single Popular App
env: env:
NODE_VERSION: '22' NODE_VERSION: "22"
PNPM_VERSION: '10.15.0' PNPM_VERSION: "10.15.0"
on: on:
workflow_dispatch: workflow_dispatch:

View File

@@ -21,3 +21,4 @@ cli.js
*.wxs *.wxs
*.plist *.plist
*.toml *.toml
.github/workflows/