Merge branch 'main' of https://github.com/ywarezk/academeez #148
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
# | |
# Runs npm run lint | |
# | |
# Created September 24th, 2023 | |
# @author ywarezk | |
# @license MIT | |
# | |
name: lint | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
lint: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18.15.0 | |
cache: 'npm' | |
- run: npm ci | |
- run: npm run lint |