Skip to content

Commit 4a0c871

Browse files
committed
ci: add test workflow and dependabot config
1 parent 33a160e commit 4a0c871

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

.github/dependabot.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: /
5+
schedule:
6+
interval: daily
7+
target-branch: 'main'
8+
9+
- package-ecosystem: npm
10+
directory: /
11+
schedule:
12+
interval: daily
13+
target-branch: 'main'

.github/workflows/test.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Test
2+
3+
on:
4+
pull_request:
5+
push:
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v3
13+
14+
- name: Install dependencies
15+
run: npm install
16+
17+
- name: Build
18+
run: npm run build
19+
20+
- name: Lint
21+
run: npm run lint
22+

0 commit comments

Comments
 (0)