Skip to content

Commit

Permalink
Merge pull request #43 from torusresearch/feat/Add-unit-test
Browse files Browse the repository at this point in the history
Feat/add unit test
  • Loading branch information
chaitanyapotti authored Oct 25, 2024
2 parents a8e5090 + 83bf2a6 commit dbe563e
Show file tree
Hide file tree
Showing 7 changed files with 6,446 additions and 5,400 deletions.
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2

updates:
- package-ecosystem: npm
directory: /
schedule:
interval: weekly
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build, Test & Lint

on: [push]

jobs:
test:
strategy:
matrix:
node: ["20.x"]
os: [ubuntu-latest]

runs-on: ${{ matrix.os }}

steps:
- name: Check out Git repository
uses: actions/checkout@v4

- name: Set up node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: "npm"

- name: Install dependencies
run: npm install

- name: Build
run: npm run build

- name: Lint
run: npm run lint

- name: Test
run: npm run test
Loading

0 comments on commit dbe563e

Please sign in to comment.