forked from hgourvest/node-firebird
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (31 loc) · 809 Bytes
/
node.js.yml
File metadata and controls
40 lines (31 loc) · 809 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20]
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 }}
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