diff --git a/.github/workflows/ui.yml b/.github/workflows/ui.yml index fabac78d7..6e8ed1a40 100644 --- a/.github/workflows/ui.yml +++ b/.github/workflows/ui.yml @@ -19,7 +19,7 @@ jobs: working-directory: telemetry/ui strategy: matrix: - node-version: [15.x] + node-version: [16.x] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} @@ -28,5 +28,5 @@ jobs: node-version: ${{ matrix.node-version }} - run: npm install --ignore-scripts - run: npm run build - - run: npm run lint - - run: npm run format + - run: npm run lint:fix + - run: npm run format:fix diff --git a/telemetry/ui/package.json b/telemetry/ui/package.json index 6ee0b37f6..228dc1b78 100644 --- a/telemetry/ui/package.json +++ b/telemetry/ui/package.json @@ -35,8 +35,8 @@ "test": "react-scripts test", "eject": "react-scripts eject", "lint": "eslint .", - "lint:fix": "eslint . --fix --max-warnings=0 --config ./.eslintrc.js", - "format": "prettier --write ./**/*.{ts,tsx,css,md,json} --config ./.prettierrc.json", + "lint:fix": "eslint . --fix --max-warnings=0 --config ./.eslintrc.js --ignore-path ./.eslintignore", + "format:fix": "prettier --write ./**/*.{ts,tsx,css,md,json} --config ./.prettierrc.json --ignore-path ./.prettierignore", "precommit": "npm run lint:fix && npm run format", "prepush": "npm run lint" },