Skip to content
on:
pull_request:
branches:
- main
jobs:
test_components:
permissions:
contents: read
actions: read
runs-on: ubuntu-latest
name: test shared components
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Node Install
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install Dependencies
run: npm install
- name: Run Tests
run: npx nx run budgie-app:test --coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.2.0
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}