mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-30 06:12:03 +00:00
- Introduced a new GitHub Actions workflow for PR build checks to ensure code quality and consistency. - Updated `analysis-view.tsx`, `interview-view.tsx`, and `setup-view.tsx` to incorporate a new `Feature` type for better feature management. - Refactored various components to improve code readability and maintainability. - Adjusted type imports in `delete-project-dialog.tsx` and `settings-navigation.tsx` for consistency. - Enhanced project initialization logic in `project-init.ts` to ensure proper type handling. - Updated Electron API types in `electron.d.ts` for better clarity and functionality.
34 lines
613 B
YAML
34 lines
613 B
YAML
name: PR Build Check
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- "*"
|
|
push:
|
|
branches:
|
|
- main
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: "20"
|
|
cache: "npm"
|
|
cache-dependency-path: app/package-lock.json
|
|
|
|
- name: Install dependencies
|
|
working-directory: ./app
|
|
run: npm ci
|
|
|
|
- name: Run build:electron
|
|
working-directory: ./app
|
|
run: npm run build:electron
|