Skip to content

Commit 9d01e21

Browse files
committed
Build: Switch to GitHub Actions, update ESLint
1 parent 05870df commit 9d01e21

File tree

4 files changed

+37
-7
lines changed

4 files changed

+37
-7
lines changed

.github/workflows/node.js.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
NODE_VERSION: [16.x]
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v2
15+
16+
- name: Cache
17+
uses: actions/cache@v2
18+
with:
19+
path: ~/.npm
20+
key: ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-npm-lock-${{ hashFiles('**/package-lock.json') }}
21+
restore-keys: |
22+
${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-npm-lock-
23+
24+
- name: Use Node.js ${{ matrix.NODE_VERSION }}
25+
uses: actions/setup-node@v2.1.2
26+
with:
27+
node-version: ${{ matrix.NODE_VERSION }}
28+
29+
- name: Install dependencies
30+
run: |
31+
npm install
32+
33+
- name: Run tests
34+
run: |
35+
npm test

.travis.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@
2626
"author": "Gaidarenko Oleg <markelog@gmail.com>",
2727
"license": "MIT",
2828
"devDependencies": {
29-
"eslint": "^6.8.0"
29+
"eslint": "^8.5.0"
3030
}
3131
}

readme.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
[![Build Status](https://travis-ci.org/jquery/eslint-config-jquery.svg)](https://travis-ci.org/jquery/eslint-config-jquery)
2-
3-
# jQuery eslint config
1+
# jQuery ESLint config
42

53
## Usage
64

0 commit comments

Comments
 (0)