Skip to content

Yarn v3, yarn cache and add windows to test matrix on gh #455

Yarn v3, yarn cache and add windows to test matrix on gh

Yarn v3, yarn cache and add windows to test matrix on gh #455

Workflow file for this run

name: Node.js CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/lint
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/build
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/test
integration:
name: Integration tests
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
node-version: [
14,
16,
# Deal with unhandled promise rejection in integration test:
# ERROR [karma-server]: Error: error:0308010C:digital envelope routines::unsupported
# , 18
]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/test-integration
with:
node-version: ${{ matrix.node-version }}