Faucet CI: aaronmgdr/setup-ci #4
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: Faucet CI | |
run-name: 'Faucet CI: ${{ github.head_ref || github.ref_name }}' | |
on: | |
push: | |
branches: | |
- master | |
- aaronmgdr/setup-ci | |
pull_request: | |
branches: | |
- master | |
concurrency: | |
group: faucet-${{ github.ref }} | |
cancel-in-progress: true | |
defaults: | |
run: | |
shell: bash --login -eo pipefail {0} | |
jobs: | |
run-checks: | |
name: Run Checks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Setup Node.js 18.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
cache: 'yarn' | |
- name: Install Dependencies | |
run: yarn | |
- name: Run Lint | |
run: yarn lint | |
- name: Validate Renovate Config | |
run: npx renovate-config-validator |