Skip to content

Commit 9e67102

Browse files
authored
Merge pull request #57 from jrjohnson/use-github-action
[breaking] Switch to Github Actions for CI
2 parents 115a2c6 + 4eb9fb4 commit 9e67102

File tree

4 files changed

+2406
-2411
lines changed

4 files changed

+2406
-2411
lines changed

.github/workflows/ci.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Continuous Integration
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
test:
9+
name: Test
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
node-version: [12.x, 14.x, 16.x]
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Use Node.js ${{ matrix.node-version }}
17+
uses: actions/setup-node@v2
18+
with:
19+
node-version: ${{ matrix.node-version }}
20+
cache: 'yarn'
21+
- run: yarn install
22+
- run: yarn test
23+
24+
test-floating:
25+
name: Floating Dependencies
26+
runs-on: ubuntu-latest
27+
strategy:
28+
matrix:
29+
node-version: [12.x, 14.x, 16.x]
30+
steps:
31+
- uses: actions/checkout@v2
32+
- name: Use Node.js ${{ matrix.node-version }}
33+
uses: actions/setup-node@v2
34+
with:
35+
node-version: ${{ matrix.node-version }}
36+
cache: 'yarn'
37+
- name: install dependencies
38+
run: yarn install --no-lockfile
39+
- name: test
40+
run: yarn test

.travis.yml

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"release-it-lerna-changelog": "^2.3.0"
3636
},
3737
"engines": {
38-
"node": ">= 10"
38+
"node": "12.* || 14.* || >= 16"
3939
},
4040
"publishConfig": {
4141
"registry": "https://registry.npmjs.org"

0 commit comments

Comments
 (0)