Skip to content
This repository was archived by the owner on Jun 22, 2023. It is now read-only.

Commit 8a035b2

Browse files
authored
Create ci.yml
1 parent f1f07b3 commit 8a035b2

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/ci.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
node-version: [4.5.0, 6.x, 8.x, 10.x, 12.x, 13.x]
16+
17+
steps:
18+
- uses: actions/checkout@v2
19+
- name: Use Node.js ${{ matrix.node-version }}
20+
uses: actions/setup-node@v1
21+
with:
22+
node-version: ${{ matrix.node-version }}
23+
- name: Install dependencies
24+
run: yarn install
25+
env:
26+
CI: true
27+
- name: Run tests
28+
run: yarn test
29+
env:
30+
CI: true

0 commit comments

Comments
 (0)