remove github token from build workflow (#145) #177
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: Lint | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- "*" | |
pull_request: | |
jobs: | |
build: | |
name: Validate code | |
runs-on: ubuntu-latest | |
steps: | |
# Check out the repository | |
- uses: actions/checkout@v2 | |
# Install Node.js | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 17 | |
# Install your dependencies | |
- run: npm ci | |
- name: "Check JavaScript code formatting" | |
run: npm run format-check | |
- name: "Lint English writing" | |
run: npm run alex | |
- name: "Lint CSS" | |
run: npm run stylelint | |
- name: "Validate data.json format" | |
run: npm run validate-data |