Merge pull request #1857 from bdunne/es-abstract #761
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: | |
push: | |
pull_request: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: | |
- 18 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up system | |
run: bin/before_install | |
- name: Set up Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: ${{ !env.ACT && 'yarn' || '' }} | |
registry-url: https://npm.manageiq.org/ | |
- name: Prepare tests | |
run: bin/setup | |
- name: Run tests | |
run: yarn run test | |
- name: Report code coverage | |
if: ${{ github.ref == 'refs/heads/master' }} | |
continue-on-error: true | |
run: cat reports/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js |