Skip to content

Commit

Permalink
Add github action config
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoVictor committed Feb 25, 2024
1 parent 5384954 commit 20d1507
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Pipeline
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
env:
REACT_APP_API_URL: 'http://localhost:3333'
steps:
- uses: actions/setup-node@v4
- uses: actions/checkout@v4
- name: Run tests
run: |
npm ci
npm run test
- uses: codecov/codecov-action@v3
with:
directory: ./tests/coverage/

0 comments on commit 20d1507

Please sign in to comment.