Update ESM detection for running fom source and CSS module creation (… #314
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
on: [push] | |
name: Tests | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16.x | |
- name: Install root project dependencies | |
run: npm ci | |
- name: Install extensions dependencies | |
run: npm run install-extensions | |
- name: Run tests | |
uses: GabrielBB/xvfb-action@v1.0 | |
with: | |
run: npm run sample-tests |