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

Commit c00bcf9

Browse files
authored
Merge pull request #345 from ResuBaka/feature/github-action-ci
Added basic github action ci
2 parents 2c98279 + 2a03e03 commit c00bcf9

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/nodejs.yml

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

0 commit comments

Comments
 (0)