Skip to content

Commit 26913ea

Browse files
authored
Update and rename blank.yml to build.yml
1 parent d3093c4 commit 26913ea

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/build.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }}
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
matrix:
11+
node_version: [10, 12]
12+
os: [ubuntu-latest]
13+
steps:
14+
- uses: actions/checkout@v1
15+
- name: Use Node.js ${{ matrix.node_version }}
16+
uses: actions/setup-node@v1
17+
with:
18+
version: ${{ matrix.node_version }}
19+
- name: npm install, build and test
20+
run: |
21+
npm ci
22+
npm run build --if-present
23+
npm test

0 commit comments

Comments
 (0)