Fixed table data refresh issue after data removal #139
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit test | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- name: Setup yarn | |
run: npm install -g yarn | |
- name: Setup Nodejs with yarn caching | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
cache: yarn | |
- name: Install dependencies | |
run: yarn | |
- name: Run tests and collect coverage | |
run: npm run test:ci | |
- name: Upload Unit-tests coverage to Codecov | |
uses: codecov/codecov-action@v5 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
with: | |
name: unit-tests | |
directory: coverage | |
flags: unit-tests | |
verbose: true |