Merge pull request #2867 from CKY-/v5-color-variable #4860
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: Build Tests | |
# No need to run on master branch | |
on: | |
push: | |
branches: ['*', '!master'] | |
pull_request: | |
types: [opened, edited, synchronize, reopened] | |
branches: ['*', '!master'] | |
jobs: | |
test: | |
name: Lint | |
runs-on: 'ubuntu-latest' | |
steps: | |
- name: Setup Nodejs | |
uses: 'actions/setup-node@v3' | |
with: | |
node-version: "18.17.1" | |
- name: Install Correct NPM Version | |
run: npm install -g [email protected] | |
- name: Checkout branch | |
uses: 'actions/checkout@v3' | |
- name: Install Dependencies | |
run: npm install | |
- name: Lint | |
run: npx --no-install eslint . --quiet |