use default system node instead of upgrading to 21 #101
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-mac | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: macos-11 | |
steps: | |
- uses: actions/checkout@v3 | |
- run: npm --version | |
- run: npm install --loglevel verbose | |
- run: npm run prebuild -- --arch x64 | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
- run: npm run prebuild -- --arch arm64 | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
- name: upload binaries | |
uses: actions/github-script@v6 | |
with: | |
script: | | |
const zip = require('cross-zip') | |
const script = require('./scripts/upload-binaries.js'); | |
await script({ | |
github, | |
context, | |
core, | |
zip | |
}); |