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

Commit 444c6e2

Browse files
authored
Merge pull request #50 from nissy-dev/chore-integrate-ci
Integrate CI (Lint, Build, Test)
2 parents 35a75d5 + 59b7841 commit 444c6e2

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/ci.yml

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

0 commit comments

Comments
 (0)