feat: New checkAndEvaluateMath function that prevents unit mixing #341
  
    
      This file contains hidden or 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: Verify changes | |
| on: pull_request | |
| jobs: | |
| verify: | |
| name: Verify changes | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [18.x, 20.x] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup Node ${{ matrix.node-version }} | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Install Dependencies | |
| run: npm ci | |
| - name: Lint | |
| run: npm run lint | |
| - name: Install chromium | |
| run: npx playwright install --with-deps chromium | |
| - name: Unit tests | |
| run: npm run test:unit | |
| - name: Integration tests | |
| run: npm run test:integration |