Update macOS ARM64 build workflow to use Node.js 20 and TypeScript 5.4.5

This commit is contained in:
Jérôme Commaret 2026-01-18 16:30:21 +01:00
parent dbabc5890a
commit ca71318851

View file

@ -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