Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yashthipsay authored Aug 8, 2024
1 parent b5645c6 commit b9bda78
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: "Code Coverage on commit"
on:
push:
branches:
- main

jobs:
tests:
name: "TestsOnCommits"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1

- name: Setup Node.js
uses: actions.setup-node@v3
with:
node-version: "16"

- name: Install dependencies
working-directory: ./chain
shell: bash
run: npm install

- name: Run tests
working-directory: ./chain
shell: bash
run: npm run test

0 comments on commit b9bda78

Please sign in to comment.