crontab bs5 variant WIP #11
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: JS Test cron | |
on: | |
push: | |
paths: | |
- '**.js' | |
jobs: | |
test: | |
name: TEST CRON | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install | |
run: | | |
npm --save-dev install \ | |
qunit \ | |
karma \ | |
karma-qunit \ | |
karma-coverage \ | |
karma-chrome-launcher \ | |
karma-module-resolver-preprocessor | |
npm --no-save install https://github.com/jquery/jquery#main | |
- name: Run tests | |
run: | | |
node_modules/karma/bin/karma start js/karma.conf.js | |
- name: Run coverage | |
run: | | |
npm run karma-test:coverage |