Add github action config that runs eslint. #2
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: checks | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
permissions: | |
contents: read | |
checks: write | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
node-version-file: '.node-version' | |
- name: setup gradle | |
uses: gradle/actions/setup-gradle@v3 | |
- name: npm install | |
run: | | |
. environment | |
npm ci | |
- name: npm run ci | |
run: | | |
. environment | |
npm run ci | |