Skip to content

Commit

Permalink
Merge pull request newrelic#69 from michaelgoin/add-github-actions
Browse files Browse the repository at this point in the history
Adds GitHub Actions CI. Removes Travis.
  • Loading branch information
michaelgoin authored Jul 30, 2020
2 parents 748d9e0 + 156930c commit b3140ee
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 15 deletions.
58 changes: 58 additions & 0 deletions merged/aws-sdk/.github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: aws-sdk Instrumentation CI

on: [push, pull_request]

jobs:
lint:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm install
- name: Run Linting
run: npm run lint

unit:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [8.x, 10.x, 12.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm install
- name: Run Unit Tests
run: npm run unit

versioned:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [8.x, 10.x, 12.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm install
- name: Run Versioned Tests
run: npm run versioned
15 changes: 0 additions & 15 deletions merged/aws-sdk/.travis.yml

This file was deleted.

0 comments on commit b3140ee

Please sign in to comment.