Skip to content

Commit e7a7411

Browse files
committed
add github actions
1 parent 498f8d5 commit e7a7411

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

.github/dependabot.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
directory: /
5+
schedule:
6+
interval: daily
7+
labels:
8+
- dependency
9+
versioning-strategy: increase-if-necessary
10+
- package-ecosystem: github-actions
11+
directory: /
12+
schedule:
13+
interval: daily
14+
labels:
15+
- dependency

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: ci
2+
'on':
3+
- push
4+
- pull_request
5+
jobs:
6+
test:
7+
name: Node ${{ matrix.node }} / ${{ matrix.os }}
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
os:
13+
- ubuntu-latest
14+
node:
15+
- '14'
16+
steps:
17+
- uses: actions/checkout@v2
18+
- uses: actions/setup-node@v2
19+
with:
20+
node-version: ${{ matrix.node }}
21+
- run: npm install
22+
- run: npm run build --if-present
23+
- run: npm test

0 commit comments

Comments
 (0)