Skip to content

Commit

Permalink
feat: github ci for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjibansg committed Dec 7, 2023
1 parent 5a175bd commit 2ce2306
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: substraitJS test

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18]

steps:
- uses: actions/checkout@v3

- name: Initialize and update submodules
run: |
git submodule update --init --recursive
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: "npm"

- name: Install dependencies
run: npm ci

- name: Build project
run: npm run build

- name: Run tests
run: npm run test

0 comments on commit 2ce2306

Please sign in to comment.