mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
Update macOS ARM64 build workflow to use Node.js 20 and TypeScript 5.4.5
This commit is contained in:
parent
dbabc5890a
commit
ca71318851
1 changed files with 6 additions and 9 deletions
15
.github/workflows/build-darwin-arm64.yml
vendored
15
.github/workflows/build-darwin-arm64.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue