fix: handle esm config when checking for conditionNames (#231) #235
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
Tests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: ["14", "16", "18"] | |
os: [ubuntu-latest, windows-latest] | |
name: Test on Node v${{ matrix.node-version }} on ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: npm | |
- run: npm install | |
- run: npm run all | |
env: | |
CI: true |