PHP School Cloud #51
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: PhpSchool.io | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master, online ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Eslint | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
cache: 'npm' | |
- name: Install NPM Dependencies | |
run: npm ci --no-audit --no-fund --prefer-offline | |
- name: Eslint | |
run: npm run lint |