Skip to content

Commit

Permalink
Switch from circleci to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
runem committed Oct 19, 2019
1 parent 3422de3 commit 9c63fd2
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 43 deletions.
43 changes: 0 additions & 43 deletions .circleci/config.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/workflow.yml
@@ -0,0 +1,27 @@
name: Main Workflow

on: [push, pull_request]

jobs:
run:
name: Run

runs-on: ubuntu-latest

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

- name: Set Node.js 10.x
uses: actions/setup-node@master
with:
node-version: 10.x

- name: Install
run: npm ci && cd dev && npm ci

- name: Lint
run: npm run lint

- name: Test
run: npm test
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -14,6 +14,7 @@
"watch": "rollup -c --watch",
"pretest": "cd dev && npm install",
"test": "ava",
"lint": "",
"test:update": "ava --update-snapshots",
"test:watch": "ava --watch",
"prettier:check": "prettier --list-different \"src/**/*.{ts,tsx}\"",
Expand Down

0 comments on commit 9c63fd2

Please sign in to comment.