Skip to content

Commit

Permalink
Build: Switch to GitHub Actions, update ESLint
Browse files Browse the repository at this point in the history
Closes gh-18
  • Loading branch information
mgol authored Dec 30, 2021
1 parent 05870df commit 1c12c77
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 7 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
NODE_VERSION: [16.x]
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Cache
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-npm-lock-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-npm-lock-
- name: Use Node.js ${{ matrix.NODE_VERSION }}
uses: actions/setup-node@v2.1.2
with:
node-version: ${{ matrix.NODE_VERSION }}

- name: Install dependencies
run: |
npm install
- name: Run tests
run: |
npm test
3 changes: 0 additions & 3 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
"author": "Gaidarenko Oleg <markelog@gmail.com>",
"license": "MIT",
"devDependencies": {
"eslint": "^6.8.0"
"eslint": "^8.5.0"
}
}
4 changes: 1 addition & 3 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
[![Build Status](https://travis-ci.org/jquery/eslint-config-jquery.svg)](https://travis-ci.org/jquery/eslint-config-jquery)

# jQuery eslint config
# jQuery ESLint config

## Usage

Expand Down

0 comments on commit 1c12c77

Please sign in to comment.