Update index.js #54
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: StandardJS Linting | |
on: | |
push: | |
branches: | |
- f24 | |
pull_request: | |
branches: | |
- f24 | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20.17.0' | |
- name: Install dependencies | |
working-directory: ./install | |
run: npm install | |
- name: Run StandardJS on standardjs.js | |
working-directory: ./test | |
run: npx standard ./standardjs.js | |
- name: Report StandardJS issues | |
if: failure() | |
run: | | |
echo "StandardJS found issues in xxx.js. Please review the output above." |