Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Main workflow

on: [push, pull_request]

jobs:
test:
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
node-version: [8.x]

runs-on: ${{ matrix.os }}

env:
BS_TRAVIS_CI: 1
OCAMLRUNPARAM: b

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Checkout submodules
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Install packages
run: npm ci

- name: Run tests
run: npm test
21 changes: 0 additions & 21 deletions .travis.yml

This file was deleted.

Loading