Skip to content

Update EditUser.vue #70

Update EditUser.vue

Update EditUser.vue #70

Workflow file for this run

name: Analyse with ESLint
on:
push:
paths:
- "**.js"
- "**.jsx"
- "**.vue"
- "react/.eslintrc.cjs"
- "react/.prettierrc"
- "vue/.eslintrc.cjs"
- "vue/.prettierrc"
- ".github/workflows/eslint.yml"
permissions:
contents: write
jobs:
eslint:
name: ESLint Code Analysis
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Cache node modules
id: cache-npm
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
run: |
cd vue
npm install
cd ../react
npm install
- name: Run ESLint
run: |
cd vue
npm run eslint
cd ../react
npm run eslint
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Fix styling