Skip to content

Commit 9c63fd2

Browse files
committed
Switch from circleci to github actions
1 parent 3422de3 commit 9c63fd2

File tree

3 files changed

+28
-43
lines changed

3 files changed

+28
-43
lines changed

.circleci/config.yml

-43
This file was deleted.

.github/workflows/workflow.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Main Workflow
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
run:
7+
name: Run
8+
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@master
14+
15+
- name: Set Node.js 10.x
16+
uses: actions/setup-node@master
17+
with:
18+
node-version: 10.x
19+
20+
- name: Install
21+
run: npm ci && cd dev && npm ci
22+
23+
- name: Lint
24+
run: npm run lint
25+
26+
- name: Test
27+
run: npm test

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"watch": "rollup -c --watch",
1515
"pretest": "cd dev && npm install",
1616
"test": "ava",
17+
"lint": "",
1718
"test:update": "ava --update-snapshots",
1819
"test:watch": "ava --watch",
1920
"prettier:check": "prettier --list-different \"src/**/*.{ts,tsx}\"",

0 commit comments

Comments
 (0)