Skip to content

Commit

Permalink
Package manager changed from yarn to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
yousufkalim committed Jul 20, 2022
1 parent 5157dec commit cc710a3
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ All notable changes to this project will be documented in this file.
> - Internal
> - Unreleased
## v2.0.6

#### Enhancements

- Package manager changed from yarn to npm

## v2.0.5

#### Enhancements
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-action",
"version": "2.0.5",
"version": "2.0.6",
"description": "Run ESLint on files changed in a pull request with inline error and warning annotations",
"author": "yousufkalim",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/eslint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const runEslint = async (inputs: Inputs): Promise<void> => {
const execOptions = [path.resolve(inputs.binPath, 'eslint'), ...files, ...inputs.eslintArgs].filter(Boolean);

// Installing required libs
await exec('yarn add eslint eslint-config-airbnb');
await exec('npm i eslint-config-airbnb --legacy-peer-deps');

// if auto-fix-before-test is true, then run eslint with --fix
if (inputs.autofix) {
Expand Down

0 comments on commit cc710a3

Please sign in to comment.