feat: support paas_inner_host env #595
Workflow file for this run
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: ESLint | |
on: | |
push: | |
branches: [ master, develop, pre_*, ft_* ] | |
pull_request: | |
branches: [ master, develop, pre_*, ft_* ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 12.16.3 | |
cache: 'npm' | |
cache-dependency-path: 'src/pages/package-lock.json' | |
- name: Install modules | |
run: | | |
cd src/pages | |
npm i | |
- name: Run ESLint | |
run: | | |
cd src/pages | |
npx eslint --ext .js,.vue src/ |