diff --git a/.github/actions/setup-env/action.yml b/.github/actions/setup-env/action.yml index ca1ac7e..b03f50c 100644 --- a/.github/actions/setup-env/action.yml +++ b/.github/actions/setup-env/action.yml @@ -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: diff --git a/.github/workflows/pake-cli.yaml b/.github/workflows/pake-cli.yaml index 82e9a19..7b4d359 100644 --- a/.github/workflows/pake-cli.yaml +++ b/.github/workflows/pake-cli.yaml @@ -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: diff --git a/.github/workflows/quality-and-test.yml b/.github/workflows/quality-and-test.yml index 7694451..c466ef8 100644 --- a/.github/workflows/quality-and-test.yml +++ b/.github/workflows/quality-and-test.yml @@ -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 diff --git a/.github/workflows/single-app.yaml b/.github/workflows/single-app.yaml index 887c87e..793fcb4 100644 --- a/.github/workflows/single-app.yaml +++ b/.github/workflows/single-app.yaml @@ -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 diff --git a/.prettierignore b/.prettierignore index bdf9c58..4c7440a 100644 --- a/.prettierignore +++ b/.prettierignore @@ -21,3 +21,4 @@ cli.js *.wxs *.plist *.toml +.github/workflows/