Skip to content

Commit

Permalink
added github action
Browse files Browse the repository at this point in the history
  • Loading branch information
PhotoNomad0 committed Oct 7, 2024
1 parent 6fdffc1 commit d8b79b9
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Run Jest Tests

on: [push, pull_request]

env:
CHILD_CONCURRENCY: 1
NODE_ENV: test

jobs:
tests-run:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.19.1]
steps:
- uses: actions/setup-node@v2.1.5
with:
node-version: ${{ matrix.node-version }}
- name: Checkout
uses: actions/checkout@v2

# run unit tests
- name: Run Jest Unit Tests
run: yarn && yarn test


# upload-to-codecov:
# needs: [tests-run]
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v2
# - name: Download artifacts
# uses: actions/download-artifact@v2
# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v2

0 comments on commit d8b79b9

Please sign in to comment.