DaraGrid: Export to excel, fix excel-js-fork, update CI #12
Workflow file for this run
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: Tests | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ '**' ] | |
| jobs: | |
| test: | |
| timeout-minutes: 10 | |
| name: Node v${{ matrix.node-version }} on ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [16.x, 17.x, 18.x, 19.x, 20.x] | |
| os: [ubuntu-latest, macOS-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Set git config | |
| shell: bash | |
| run: | | |
| git config --global core.autocrlf false | |
| git config --global core.symlinks true | |
| if: runner.os == 'Windows' | |
| - uses: actions/checkout@v4 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: 'npm' | |
| - run: npm ci | |
| - run: npm test | |
| env: | |
| CI: true | |
| benchmark: | |
| timeout-minutes: 15 | |
| name: Measure performance impact of changes | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 18 | |
| cache: 'npm' | |
| - run: npm ci | |
| - run: npm run benchmark | |
| env: | |
| CI: true | |
| typescript: | |
| timeout-minutes: 15 | |
| name: Ensure typescript compatibility | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 18 | |
| cache: 'npm' | |
| - run: npm ci | |
| - run: npm run type-check | |
| env: | |
| CI: true |