v17.9.0-beta.17 #310
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
| # yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
| name: Test | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| name: "Test" | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20.x | |
| - run: npm ci --force | |
| - run: npm run build | |
| - run: npm run lint | |
| - run: npm run download | |
| - name: Run test | |
| if: matrix.os != 'windows-latest' | |
| run: | | |
| cd packages/embedded-postgres | |
| npm test | |
| - name: Generate NL locale | |
| if: matrix.os == 'ubuntu-latest' | |
| run: | | |
| sudo locale-gen nl_NL.UTF-8 | |
| sudo update-locale | |
| - name: Run test (NL locale) | |
| env: | |
| LC_ALL: nl_NL.UTF-8 | |
| if: matrix.os != 'windows-latest' | |
| run: | | |
| cd packages/embedded-postgres | |
| npm test |