Skip to content

Commit 27c1233

Browse files
authored
Ci tests (#305)
* chore: test ci * test ci * test ci * test ci * feature: test on pull * test ci * chore: del lock * test ci * test ci * test ci * test ci * test ci * feature: run tests on pr * chore: revert manual ci * chore: delete travis * chore: package lock * refactor: update test trigger * chore: fix ci
1 parent 2877320 commit 27c1233

File tree

2 files changed

+31
-30
lines changed

2 files changed

+31
-30
lines changed

.github/workflows/test-on-pull.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: test-on-pull
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
paths-ignore:
8+
- '**.md'
9+
push:
10+
branches:
11+
- master
12+
paths-ignore:
13+
- '**.md'
14+
15+
jobs:
16+
build:
17+
18+
runs-on: ubuntu-latest
19+
20+
strategy:
21+
matrix:
22+
node-version: [14.x, 15.x, 16.x]
23+
24+
steps:
25+
- uses: actions/checkout@v3
26+
- name: Use Node.js ${{ matrix.node-version }}
27+
uses: actions/setup-node@v3
28+
with:
29+
node-version: ${{ matrix.node-version }}
30+
- run: npm ci
31+
- run: npm test

.travis.yml

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

0 commit comments

Comments
 (0)