Skip to content

Commit 03392c6

Browse files
authored
Migrate to GH Actions (#129)
* [dist] add workflow and update devDeps * [dist] clean up lock files of private registry * [tiny] add prepublishOnly for protection * [tiny] revert prepublish
1 parent bb5ffad commit 03392c6

File tree

10 files changed

+4403
-3152
lines changed

10 files changed

+4403
-3152
lines changed

.github/workflows/cicd.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: CICD
2+
on: [pull_request]
3+
4+
jobs:
5+
build:
6+
runs-on: ubuntu-18.04
7+
strategy:
8+
matrix:
9+
node: ['10', '12', '14']
10+
steps:
11+
- name: Checkout code
12+
uses: actions/checkout@v2
13+
with:
14+
fetch-depth: 0
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v1
17+
with:
18+
node-version: ${{ matrix.node }}
19+
- name: Install dependencies
20+
run: npm ci
21+
- name: Test
22+
run: npm test

.travis.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"@typescript-eslint/parser": "^2.3.1",
5656
"babel-eslint": "^10.0.2",
5757
"eslint": "^6.0.1",
58-
"eslint-find-rules": "^3.3.1",
58+
"eslint-find-rules": "^3.6.1",
5959
"eslint-plugin-babel": "^5.3.0",
6060
"eslint-plugin-flowtype": "^3.11.1",
6161
"eslint-plugin-json": "^1.4.0",

0 commit comments

Comments
 (0)