Skip to content

Commit

Permalink
Switch to GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanpenner committed Mar 11, 2020
1 parent a0a827d commit bcc6470
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 11 deletions.
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 && 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.

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,9 @@
"bugs": {
"url": "https://github.com/amasad/sane/issues"
},
"homepage": "https://github.com/amasad/sane"
"homepage": "https://github.com/amasad/sane",
"volta": {
"node": "12.16.1",
"yarn": "1.22.4"
}
}

0 comments on commit bcc6470

Please sign in to comment.