fix: convert to string from null in hs #31
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: Verify | |
on: | |
pull_request: | |
jobs: | |
formatting-lint: | |
name: Check for formatting & lint errors | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
# Make sure the actual branch is checked out when running on pull requests | |
ref: ${{ github.head_ref }} | |
- name: Setup Node | |
uses: actions/[email protected] | |
with: | |
node-version-file: .nvmrc | |
cache: 'npm' | |
- name: Install Dependencies | |
run: npm ci | |
- name: Run Lint Checks | |
run: | | |
npm run lint | |
- run: git diff --exit-code | |
- name: Error message | |
if: ${{ failure() }} | |
run: | | |
echo 'Eslint check is failing Ensure you have run `npm run lint` and committed the files locally.' |