Skip to content

Commit

Permalink
Merge pull request #32 from MonetDB/ts
Browse files Browse the repository at this point in the history
Re-write in TypeScript
  • Loading branch information
sstalin authored Nov 2, 2023
2 parents 3f487bc + dcba276 commit cd9e0de
Show file tree
Hide file tree
Showing 48 changed files with 8,116 additions and 4,928 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/Linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Linux

on:
push:
branches: [ master ]
branches: [ master, ts ]
pull_request:
branches: [ master ]

Expand All @@ -15,12 +15,12 @@ jobs:

strategy:
matrix:
node: ['10', '12', '14', '16', '18']
node: ['10', '12', '14', '16', '18', '20']

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@ name: macos

on:
push:
branches: [ master ]
branches: [ master, ts ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: macos-10.15
runs-on: macos-latest
env:
DBFARM: dbfarm

strategy:
matrix:
node: ['10', '12', '14', '16', '18']
node: ['10', '12', '14', '16', '18', '20']
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand Down
43 changes: 43 additions & 0 deletions .github/workflows/monetdb-versions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Test against various MonetDB versions
on:
push:
branches: [ master, ts ]
pull_request:

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

schedule:
- cron: '5 0 * * *'

jobs:
run_tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
monetdbversion:
- "monetdb/dev-builds:Jan2022"
- "monetdb/dev-builds:Sep2022"
- "monetdb/dev-builds:Jun2023"
- "monetdb/dev-builds:default"
node: ['18']
services:
monetdb:
image: ${{ matrix.monetdbversion }}
env:
MDB_DAEMON_PASS: monetdb
MDB_DB_ADMIN_PASS: monetdb
MDB_CREATE_DBS: test
ports:
- 50000:50000
steps:
- name: Check out
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- name: Run tests
run: npm t
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
coverage
node_modules
dist
.idea
.vscode
docs/dist
docs/.next

11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit cd9e0de

Please sign in to comment.