🎨 format code
This commit is contained in:
14
.github/actions/setup-env/action.yml
vendored
14
.github/actions/setup-env/action.yml
vendored
@@ -5,14 +5,14 @@ description: One-stop setup with smart presets
|
||||
|
||||
inputs:
|
||||
mode:
|
||||
description: 'Setup mode: full, node-only, rust-only, or build'
|
||||
description: "Setup mode: full, node-only, rust-only, or build"
|
||||
required: false
|
||||
default: 'full'
|
||||
default: "full"
|
||||
|
||||
outputs:
|
||||
setup-complete:
|
||||
description: Setup completion status
|
||||
value: 'true'
|
||||
value: "true"
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
@@ -22,7 +22,7 @@ runs:
|
||||
shell: bash
|
||||
run: |
|
||||
MODE="${{ inputs.mode }}"
|
||||
|
||||
|
||||
# Validate and set flags in one pass
|
||||
case "$MODE" in
|
||||
full)
|
||||
@@ -56,14 +56,14 @@ runs:
|
||||
if: env.SETUP_NODE == 'true'
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: '10.15.0'
|
||||
version: "10.15.0"
|
||||
run_install: false
|
||||
|
||||
- name: Setup Node.js
|
||||
if: env.SETUP_NODE == 'true'
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '22'
|
||||
node-version: "22"
|
||||
cache: pnpm
|
||||
|
||||
- name: Install dependencies
|
||||
@@ -79,7 +79,7 @@ runs:
|
||||
toolchain: stable
|
||||
target: x86_64-unknown-linux-gnu
|
||||
|
||||
- name: Setup Rust for Windows
|
||||
- name: Setup Rust for Windows
|
||||
if: env.SETUP_RUST == 'true' && runner.os == 'Windows'
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
|
||||
4
.github/workflows/pake-cli.yaml
vendored
4
.github/workflows/pake-cli.yaml
vendored
@@ -1,8 +1,8 @@
|
||||
name: Build App With Pake CLI
|
||||
|
||||
env:
|
||||
NODE_VERSION: '22'
|
||||
PNPM_VERSION: '10.15.0'
|
||||
NODE_VERSION: "22"
|
||||
PNPM_VERSION: "10.15.0"
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
9
.github/workflows/quality-and-test.yml
vendored
9
.github/workflows/quality-and-test.yml
vendored
@@ -8,8 +8,8 @@ on:
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
NODE_VERSION: '22'
|
||||
PNPM_VERSION: '10.15.0'
|
||||
NODE_VERSION: "22"
|
||||
PNPM_VERSION: "10.15.0"
|
||||
|
||||
permissions:
|
||||
actions: write
|
||||
@@ -34,7 +34,6 @@ jobs:
|
||||
- name: Setup Development Environment
|
||||
uses: ./.github/actions/setup-env
|
||||
|
||||
|
||||
- name: Auto-fix Prettier formatting
|
||||
run: npx prettier --write . --ignore-unknown
|
||||
|
||||
@@ -66,7 +65,6 @@ jobs:
|
||||
with:
|
||||
mode: build
|
||||
|
||||
|
||||
- name: Check EditorConfig compliance
|
||||
uses: editorconfig-checker/action-editorconfig-checker@main
|
||||
|
||||
@@ -109,7 +107,7 @@ jobs:
|
||||
run: cargo fmt --all -- --color=always --check
|
||||
|
||||
- name: Run Clippy lints
|
||||
run: cargo hack --feature-powerset --exclude-features cli-build --no-dev-deps clippy # cspell:disable-line
|
||||
run: cargo hack --feature-powerset --exclude-features cli-build --no-dev-deps clippy # cspell:disable-line
|
||||
|
||||
cli-tests:
|
||||
name: CLI Tests (${{ matrix.os }})
|
||||
@@ -163,7 +161,6 @@ jobs:
|
||||
with:
|
||||
mode: build
|
||||
|
||||
|
||||
- name: Build CLI
|
||||
run: pnpm run cli:build
|
||||
|
||||
|
||||
6
.github/workflows/single-app.yaml
vendored
6
.github/workflows/single-app.yaml
vendored
@@ -1,8 +1,8 @@
|
||||
name: Build Single Popular App
|
||||
|
||||
env:
|
||||
NODE_VERSION: '22'
|
||||
PNPM_VERSION: '10.15.0'
|
||||
NODE_VERSION: "22"
|
||||
PNPM_VERSION: "10.15.0"
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
@@ -151,7 +151,7 @@ jobs:
|
||||
retention-days: 3
|
||||
|
||||
- name: Upload to release
|
||||
uses: ncipollo/release-action@v1 # cspell:disable-line
|
||||
uses: ncipollo/release-action@v1 # cspell:disable-line
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
allowUpdates: true
|
||||
|
||||
@@ -21,3 +21,4 @@ cli.js
|
||||
*.wxs
|
||||
*.plist
|
||||
*.toml
|
||||
.github/workflows/
|
||||
|
||||
Reference in New Issue
Block a user