Skip to content

🚀 refactor(repo): update tooling and cleaning up builds #24

🚀 refactor(repo): update tooling and cleaning up builds

🚀 refactor(repo): update tooling and cleaning up builds #24

Workflow file for this run

name: Unit Tests
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '18'
registry-url: 'https://registry.npmjs.org'
- run: npm i
- run: npm test
- uses: actions/upload-artifact@v2
if: failure()
with:
name: unit-tests
path: ${{ github.workspace }}/coverage/
retention-days: 5
- uses: codecov/codecov-action@v1.3.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ${{ github.workspace }}/coverage/