Add initSQLFilePath option #118
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: Old Node Tests | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| node: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [16.6.0, 16.x, 17.0.0, 17.x] | |
| # windows-11-arm is not included here because Node only has Windows on Arm binaries for Node >= 19 | |
| os: [macos-14, macos-15, macos-15-intel, macos-26, ubuntu-22.04, ubuntu-24.04, windows-2022, windows-2025, ubuntu-22.04-arm, ubuntu-24.04-arm] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup node ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| check-latest: true | |
| - name: Install packages | |
| run: npm ci | |
| - name: Run tests | |
| run: npx ts-node tests/old-node.ts | |
| - name: Move MySQLMSN directory for GitHub Actions upload | |
| if: ${{ failure() }} | |
| env: | |
| MOVE_MYSQLMSN_TO: ${{ runner.os == 'Windows' && 'C:\\Users\\RUNNER~1\\mysqlmsn' || '/tmp/mysqlmsn' }} | |
| run: npx ts-node tests/ci/DirMoveGitHubActions.ts | |
| - name: Upload mysqlmsn directory | |
| if: ${{ failure() }} | |
| uses: actions/[email protected] | |
| with: | |
| name: node-${{ matrix.node-version }} | |
| path: ${{ runner.os == 'Windows' && 'C:\\Users\\RUNNER~1\\mysqlmsn' || '/tmp/mysqlmsn' }} | |
| compression-level: 9 |