diff --git a/.github/workflows/build-darwin-arm64.yml b/.github/workflows/build-darwin-arm64.yml index c43e5af3..3ea59233 100644 --- a/.github/workflows/build-darwin-arm64.yml +++ b/.github/workflows/build-darwin-arm64.yml @@ -10,6 +10,7 @@ on: jobs: build: runs-on: macos-latest + timeout-minutes: 60 steps: - name: Checkout repository uses: actions/checkout@v4 @@ -17,23 +18,18 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: '22' + node-version: '20' cache: 'npm' - name: Install dependencies run: npm install + - name: Install stable TypeScript version + run: npm install typescript@5.4.5 --save-dev + - name: Build React run: npm run buildreact - - name: Start watch mode - run: npm run watch & - env: - NODE_ENV: development - - - name: Wait for build to complete - run: sleep 300 - - name: Build for macOS ARM64 run: npm run gulp vscode-darwin-arm64 @@ -42,3 +38,4 @@ jobs: with: name: void-darwin-arm64 path: out-vscode/ + retention-days: 7