This repository has been archived by the owner on Jun 23, 2024. It is now read-only.
Merge pull request #718 from screendriver/renovate/c8-10.x #7775
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: Main | |
on: [push] | |
jobs: | |
tests: | |
name: Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: nschloe/action-cached-lfs-checkout@v1 | |
- name: Setup Node.js | |
uses: ./.github/actions/setup-nodejs | |
- name: Check source code | |
run: | | |
npm run lint | |
npm run copy:paste:detector | |
- name: Compile source code | |
run: npm run compile | |
- name: Run unit tests | |
run: npm run test:unit:coverage | |
- name: Upload code coverage artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: code-coverage | |
path: target/coverage/clover.xml | |
retention-days: 1 | |
if-no-files-found: error |