Skip to content

Commit

Permalink
Merge pull request #22 from nickdeis/move-to-github-actions
Browse files Browse the repository at this point in the history
Test new build pipeline
  • Loading branch information
nickdeis authored Jun 9, 2024
2 parents bab9d6b + 38cf35b commit 1649910
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 8 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: Main test pipeline

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
7 changes: 0 additions & 7 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-notice.svg)](https://travis-ci.org/nickdeis/eslint-plugin-notice)
[![Build Status](https://github.com/nickdeis/eslint-plugin-notice/actions/workflows/main/badge.svg)](https://github.com/nickdeis/eslint-plugin-notice/actions/workflows/main/badge.svg)

# eslint-plugin-notice

Expand Down

0 comments on commit 1649910

Please sign in to comment.