Skip to content

Commit

Permalink
add gh test
Browse files Browse the repository at this point in the history
  • Loading branch information
SirajChokshi committed Apr 11, 2023
1 parent 5b12733 commit 80ae8cf
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,31 @@ jobs:
- name: Run linter
working-directory: .
run: npm run lint
test:
needs: lint
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2

- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: 16.7

- name: Cache dependencies
uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.os }}-cache

- name: Install dependencies
working-directory: .
run: npm i

- name: Build application
working-directory: .
run: npm run test

build:
needs: lint
Expand Down

0 comments on commit 80ae8cf

Please sign in to comment.