Update GHA versions #8
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: | |
- '14' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up system | |
run: bin/before_install | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
# TODO: Uncomment this for yarn 3 | |
# cache: yarn | |
# registry-url: https://npm.manageiq.org/ | |
- name: Prepare tests | |
run: bin/setup | |
- name: Run tests | |
run: bin/ci | |
- name: Report code coverage | |
if: ${{ github.ref == 'refs/heads/master' && matrix.node-version == '14' }} | |
continue-on-error: true | |
run: scripts/.coverage.sh |