This repository has been archived by the owner on May 24, 2024. It is now read-only.
Merge pull request #693 from okp4/ci/update-dependabot-assignees-revi… #1950
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: Test | |
on: | |
workflow_call: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
concurrency: | |
group: test-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test-ts: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Setup node environment | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 16.14.0 | |
- name: Fetch dependencies | |
run: | | |
yarn | |
- name: Test typescript | |
run: | | |
yarn coverage | |
- name: Upload coverage | |
uses: codecov/codecov-action@v3 | |
if: github.actor != 'dependabot[bot]' | |
with: | |
files: ./coverage/lcov.info | |
verbose: true |