Fix config resolution for empty dom reference factories #176
Workflow file for this run
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
# This workflow will do a clean installation of node dependencies, cache/restore them, run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: CI | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
strategy: | |
matrix: | |
node-version: [18.x, 20.x, 22.x, lts/*, latest] | |
os: [ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3.5.3 | |
- name: Use Node.js ${{ matrix.node-version }} 🚧 | |
uses: actions/setup-node@v3.7.0 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: ${{ !env.ACT && 'yarn' || '' }} | |
- name: Install Yarn 🚧 | |
if: ${{ env.ACT }} | |
run: npm install -g yarn | |
- name: Run Tests and Build 🦺 | |
# Report template generator does not work on Windows, but also we run it on Ubuntu during release. | |
run: yarn build ${{ matrix.os == 'windows-latest' && '--no-launchFromLocalRegistry --no-generateReportTemplate' || '' }} | |
- name: Parse a timeline from a React TodoApp | |
# Uses a build of the tracker to run an e2e test | |
run: npx ./build timelines ./src/lib/cli/test/react_todoapp.js |