Skip to content

Commit 08db519

Browse files
committed
feat: Added ci for unit and integration tests
1 parent 8c97b13 commit 08db519

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

.github/run-unit-tests.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Run unit and integration tests
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- uses: actions/setup-node@v4
11+
with:
12+
node-versions: '20.x'
13+
cache: 'npm'
14+
- run: npm install
15+
- run: npm run test

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
"scripts": {
100100
"build": "shx rm -rf dist && tsc -b",
101101
"build:release": "npm run pkg && ./scripts/notarize.sh",
102-
"lint": "tsc && eslint . --ext .ts",
102+
"lint": "tsc",
103103
"postpack": "shx rm -f oclif.manifest.json",
104104
"pretarball": "../../../scripts/codesign.sh",
105105
"pkg": "tsx ./scripts/pkg.ts",

0 commit comments

Comments
 (0)