Skip to content

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

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) #7

name: Node.js CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-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
run: |
script -q -c "npm install"
script -q -c "npm run build --if-present"
script -q -c "npm test"