Skip to content

chore: drop support for node < 16 #234

chore: drop support for node < 16

chore: drop support for node < 16 #234

name: Tests - Windows/macOS
on: [ push ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- macos-latest
- windows-latest
node_version:
- 16
- 18
- 20
architecture:
- x64
name: Node ${{ matrix.node_version }} - ${{ matrix.architecture }} on ${{ matrix.os }}
steps:
- name: 'win: fix temp dir (actions/virtual-environments#712)'
run: echo "TEMP=$env:USERPROFILE\AppData\Local\Temp" >> $env:GITHUB_ENV
if: ${{ matrix.os == 'windows-latest' }}
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
architecture: ${{ matrix.architecture }}
- run: npm install
- run: npm install @jymfony/compiler@next
if: ${{ matrix.node_version < 16 }}
- run: npm test