Update FirebirdSQL GitHub Action to version 2 #170
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: CI | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node: [20, 22] | |
| firebird-version: ['v3'] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 10 | |
| - name: Setup FirebirdSQL container | |
| uses: juarezr/firebirdsql-github-action@v2 | |
| with: | |
| version: ${{ matrix.firebird-version }} | |
| isc_password: "masterkey" | |
| enable_legacy_client_auth: "true" | |
| - name: Use Node.js ${{ matrix.node }} | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| - name: Build | |
| shell: bash | |
| run: | | |
| npm ci | |
| - name: Test (Linux) | |
| run: | | |
| export FIREBIRD_DATA=/firebird/data | |
| npx nyc npm test |