Skip to content

Build and date

Build and date #23

Workflow file for this run

name: Test building on latest Windows
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Set up C++ compiler (Windows)
run: |
echo "CXX=cl" >> $GITHUB_ENV
- name: Install dependencies
run: |
npm ci
npm run build