Skip to content

Continuous integration #1995

Continuous integration

Continuous integration #1995

Workflow file for this run

name: Continuous integration
on:
push:
branches: [ '**' ]
tags: [ 'v*.*.*' ]
pull_request:
branches: [ '**' ]
schedule:
- cron: '0 2 * * *'
jobs:
Runner:
runs-on: ${{ matrix.ci-type.os }}
strategy:
fail-fast: false
matrix:
ci-type: [
{os: "windows-latest", arch: "x64"},
{os: "macos-latest", arch: "x64"},
{os: "ubuntu-latest", arch: "x64"},
]
node-version: [ 12, 14, 16, 18, 20, 21, 22 ]
steps:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Checkout Git Source
uses: actions/checkout@master
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.1
if: ${{ matrix.ci-type.os == 'windows-latest' }}
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm install
- name: Continuous Integration
run: npm run ci
# - name: Package Binary
# run: npm run pack
# - name: Draft Release
# uses: softprops/action-gh-release@v1
# if: startsWith(github.ref, 'refs/tags/')
# with:
# files: release/**
# fail_on_unmatched_files: true
# draft: true