Skip to content

Commit

Permalink
Migrate from Travis to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
chocolateboy committed Dec 11, 2020
1 parent 7871c90 commit bfcf067
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 7 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: test

on:
pull_request:
push:
paths-ignore:
- '**.md'

env:
CI: true

jobs:
test:
name: "Test on Node.js ${{ matrix.node-version }}"
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
node-version: [10, 12, 14]

steps:
- name: checkout
uses: actions/checkout@v2

- name: set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: install
run: yarn install

- name: test
run: yarn test
6 changes: 0 additions & 6 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/chocolateboy/babel-plugin-source-map-support.svg)](https://travis-ci.org/chocolateboy/babel-plugin-source-map-support)
[![Build Status](https://github.com/chocolateboy/babel-plugin-source-map-support/workflows/test/badge.svg)](https://github.com/chocolateboy/babel-plugin-source-map-support/actions?query=workflow%3Atest)
[![NPM Version](https://img.shields.io/npm/v/babel-plugin-source-map-support.svg)](https://www.npmjs.org/package/babel-plugin-source-map-support)

<!-- toc -->
Expand Down

0 comments on commit bfcf067

Please sign in to comment.