readme #46
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: React Run Linter | |
on: | |
push: | |
branches: | |
- master | |
- main | |
pull_request: | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node_version: [16] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node_version }} | |
uses: actions/setup-node@v3 | |
with: | |
node_version: ${{ matrix.node_version }} | |
- name: run eslint | |
run: | | |
cd ./web | |
npm install | |
npm rebuild node-sass | |
npm run lint |