Skip to content

Commit 741235c

Browse files
committed
ci: ci workflows
1 parent 1b7ea93 commit 741235c

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## 🧰 Changes
2+
3+
Describe in detail what this PR is for.
4+
5+
## 🧬 QA & Testing
6+
7+
Provide as much information as you can on how to test what you've done.

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
node-version: [12.x, 14.x, 16.x]
11+
12+
steps:
13+
- uses: actions/[email protected]
14+
15+
- name: Use Node.js ${{ matrix.node-version }}
16+
uses: actions/[email protected]
17+
with:
18+
node-version: ${{ matrix.node-version }}
19+
20+
- name: Install npm@7
21+
run: npm install -g npm@7
22+
23+
- name: Install deps
24+
run: npm ci
25+
26+
- name: Build dist
27+
run: npm run build
28+
29+
- name: Run tests
30+
run: npm test

0 commit comments

Comments
 (0)