feat: Add app loader #3355
Workflow file for this run
This file contains 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: CI | |
on: | |
pull_request: | |
# we want to run the CI on every PR targetting those branches | |
branches: [master, dev, release/*] | |
push: | |
# We also run CI on dev in order to update the coverage monitoring | |
branches: [dev] | |
concurrency: | |
group: ci-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: buildjet-8vcpu-ubuntu-2204 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.16.x | |
cache: 'yarn' | |
- name: Install JS dependencies | |
run: yarn --immutable | |
- name: Lint | |
run: yarn lint | |
- name: Test | |
run: yarn test --coverage --coverage-reporters=lcov --detectOpenHandles=false | |
- name: Monitor coverage | |
uses: codecov/codecov-action@v4.4.1 | |
with: | |
fail_ci_if_error: false | |
files: ./coverage/lcov.info | |
flags: unittests | |
token: ${{ secrets.CODECOV_TOKEN }} |