Skip to content

Commit

Permalink
Replace travis with github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
g-arjones committed Jul 15, 2021
1 parent 1a366c0 commit 635fd65
Show file tree
Hide file tree
Showing 4 changed files with 1,593 additions and 328 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,33 @@
name: CI
on: [push, pull_request]

jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ^14
- name: Install dependencies
run: |
npm install -g --silent gulp-cli
npm install
rm -rf node_modules/fs-temp/index.d.ts
- name: Compile
run: npm run compile
- name: Lint
run: npm run lint
- name: Enable coverage
run: gulp cover:enable
- name: Run tests
uses: GabrielBB/xvfb-action@v1.0
with:
run: npm run test
- name: Publish coverage
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
22 changes: 0 additions & 22 deletions .travis.yml

This file was deleted.

0 comments on commit 635fd65

Please sign in to comment.