minor update with dependencies fixes #120
This file contains 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: [14, 16] | |
firebird-version: ['v3'] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 10 | |
- name: Setup FirebirdSQL container | |
uses: juarezr/firebirdsql-github-action@v1.2.0 | |
with: | |
version: ${{ matrix.firebird-version }} | |
isc_password: "masterkey" | |
enable_legacy_client_auth: "true" | |
- name: Use Node.js ${{ matrix.node-version }} | |
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 |