Skip to content

Commit 00e48a9

Browse files
committed
ci: ci scaffolding
1 parent ba8533a commit 00e48a9

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Groove Sensor CI
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
test:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Set up NodeJS
13+
uses: actions/setup-node@v2
14+
with:
15+
node-version: 22.12.0
16+
cache: 'npm'
17+
- name: Install dependencies
18+
run: npm install
19+
- name: Tests
20+
run: npm run test
21+
env:
22+
DEPLOY_ENV: 'test'

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npm run format && npm run lint && npm test

0 commit comments

Comments
 (0)