Skip to content

ubuntu-latest and macos-latest gha tests (can't get windows gha to work due to TTY issues) #8

ubuntu-latest and macos-latest gha tests (can't get windows gha to work due to TTY issues)

ubuntu-latest and macos-latest gha tests (can't get windows gha to work due to TTY issues) #8

name: windows
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
node-version: [20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Workaround to create TTY
shell: pwsh
run: |
npm.cmd install
npm.cmd run build --if-present
winpty npm.cmd test