Skip to content

Commit

Permalink
Remove outdated eslint action
Browse files Browse the repository at this point in the history
  • Loading branch information
xt0rted committed Feb 14, 2021
1 parent 6f9ec3e commit 7727e12
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,18 @@ on:
- main

jobs:
eslint:
name: ESLint

build:
runs-on: ubuntu-latest

steps:
- name: Checkout Repo
- name: Checkout repo
uses: actions/checkout@v2.3.4

- name: Install Node
- name: Install node
uses: actions/setup-node@v2.1.4
with:
node-version: "12.x"

- name: NPM Install
run: npm ci
- run: npm ci

- name: ESLint
uses: xt0rted/eslint-action@d9bd6dd0a116fc40c6d7a478c856eefd63bd4d07
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: npm test
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
"private": true,
"main": "main.js",
"scripts": {
"lint": "eslint ./",
"test": "echo \"Error: no test specified\" && exit 1"
"eslint": "eslint . --ext .js",
"eslint:fix": "eslint . --fix --ext .js",
"test": "npm run eslint"
},
"license": "MIT",
"dependencies": {
Expand Down

0 comments on commit 7727e12

Please sign in to comment.