Skip to content
Open
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
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"es6": true
},
"parserOptions": {
"ecmaVersion": 6
"ecmaVersion": 8
},
"rules": {
"no-console": "off",
Expand Down
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI

on:
push:
branches:
- master
- 'v*' # older version branches
tags:
- '*'
pull_request: {}
schedule:
- cron: '0 6 * * 0' # weekly, on sundays

jobs:
test:
name: Tests
runs-on: ${{ matrix.os }}

strategy:
matrix:
node: ['10', '12']
os: [ubuntu-latest, macOS-latest]

steps:
- uses: actions/checkout@v1
- uses: rwjblue/setup-volta@v1
with:
node-version: ${{ matrix.node }}
- name: install dependencies
run: yarn
- name: setup watchman
run: git clone https://github.com/facebook/watchman.git && cd watchman && git checkout v4.7.0 && ./autogen.sh && ./configure --enable-lenient && make && sudo make install
- name: test
run: yarn test
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[![Try on repl.it](https://repl-badge.jajoosam.repl.co/try.png)](https://repl.it/@amasad/sane-playground)

[![CircleCI](https://circleci.com/gh/amasad/sane.svg?style=svg)](https://circleci.com/gh/amasad/sane)
![CI](https://github.com/amasad/sane/workflows/CI/badge.svg)

sane
----
Expand Down
8 changes: 0 additions & 8 deletions circle.yml

This file was deleted.

Loading