Skip to content

Commit

Permalink
Add github actions, remove travis (#32)
Browse files Browse the repository at this point in the history
Co-authored-by: Nicholas Deis <[email protected]>
  • Loading branch information
nickdeis and Nicholas Deis authored Jun 9, 2024
1 parent a8bcf66 commit f096a6b
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 5 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Tests

on:
push:
branches: ["master"]
pull_request:
branches: ["master"]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# Have to use 18.x and up because later versions of eslint require structuredClone
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v4
- name: Run tests against node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm ci
- run: npm test
4 changes: 0 additions & 4 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.org/nickdeis/eslint-plugin-no-secrets.svg)](https://travis-ci.org/nickdeis/eslint-plugin-no-secrets)
[![Build Status](https://github.com/nickdeis/eslint-plugin-no-secrets/actions/workflows/main.yml/badge.svg)](https://github.com/nickdeis/eslint-plugin-no-secrets/actions/workflows/main.yml/badge.svg)

# eslint-plugin-no-secrets

Expand Down

0 comments on commit f096a6b

Please sign in to comment.