Skip to content

Commit 1b22aa2

Browse files
committed
add github ci
1 parent 7945b1a commit 1b22aa2

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/node.js.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
timeout-minutes: 2
13+
14+
strategy:
15+
matrix:
16+
node-version: [12.x]
17+
18+
steps:
19+
- name: Checkout the repo
20+
uses: actions/checkout@v2
21+
- name: Set up Node.js ${{ matrix.node-version }}
22+
uses: actions/setup-node@v1
23+
with:
24+
node-version: ${{ matrix.node-version }}
25+
- name: pnpm install
26+
uses: jaid/[email protected]
27+
with:
28+
packageManager: 'pnpm'
29+
- name: Test
30+
run: npm test

0 commit comments

Comments
 (0)