Merge pull request #86 from pathmapper/gh-actions

Switching from Travis to GH Actions
pull/87/head
pathmapper 4 years ago committed by GitHub
commit 6ff7930148
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,26 @@
name: CI
on:
push:
branches: [ gh-pages ]
pull_request:
branches: [ gh-pages ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run validate
- run: npm run diff

@ -1,11 +0,0 @@
language: node_js
sudo: false
node_js:
- '10'
branches:
only:
- gh-pages
script:
- npm install
- npm run validate
- npm run diff
Loading…
Cancel
Save