Skip to content

Update Node.js to v20.15.0 #30

Update Node.js to v20.15.0

Update Node.js to v20.15.0 #30

Workflow file for this run

name: ci
on:
push:
branches:
- master
tags:
- v*.*.*
pull_request:
branches:
- master
jobs:
build:
strategy:
matrix:
os: [macos, windows, ubuntu]
fail-fast: false
runs-on: "${{ matrix.os }}-latest"
steps:
- uses: actions/checkout@v4
- uses: volta-cli/action@v4
# https://github.com/actions/runner/issues/2958
- if: matrix.os == 'macos'
uses: actions/setup-python@v5
with:
python-version: "3.x"
- if: matrix.os == 'macos'
run: pip install setuptools
- run: npm ci
- run: npm run lint
- run: npm run format:check
- run: npm run package
release:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
needs: build
strategy:
matrix:
os: [macos, windows]
fail-fast: false
runs-on: "${{ matrix.os }}-latest"
steps:
- uses: actions/checkout@v4
- uses: volta-cli/action@v4
# https://github.com/actions/runner/issues/2958
- if: matrix.os == 'macos'
uses: actions/setup-python@v5
with:
python-version: 3.x
- if: matrix.os == 'macos'
run: pip install setuptools
- run: npm ci
- run: npm run make
- uses: softprops/action-gh-release@v2
with:
draft: true
files: |
out/make/**/*.exe
out/make/**/*.dmg