Skip to content

Commit fd9d7ed

Browse files
authored
Create main.yml
1 parent 205dbb5 commit fd9d7ed

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/main.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
strategy:
11+
matrix:
12+
node: [12.x, 13.x]
13+
14+
steps:
15+
- uses: actions/checkout@v1
16+
- uses: actions/setup-node@v1
17+
with:
18+
node-version: ${{ matrix.node }}
19+
- name: npm install, build, and test
20+
run: |
21+
npm install
22+
npm run prepare --if-present
23+
npm test
24+
env:
25+
CI: true

0 commit comments

Comments
 (0)