Skip to content
This repository has been archived by the owner on Jun 4, 2023. It is now read-only.

Commit

Permalink
build: replace Travis by GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentbernat committed Jan 15, 2021
1 parent a5b6638 commit 3dfdded
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 12 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build
on:
push:
pull_request:
schedule:
- cron: 26 8 4 * *

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
node_version:
- 8
- 10
name: Node ${{ matrix.node_version }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node_version }}
- run: >
sudo apt -qy update;
sudo apt -qy install libavahi-compat-libdnssd-dev libjpeg-turbo-progs optipng gifsicle
if: ${{ matrix.os == 'ubuntu-latest' }}
- run: npm install -g grunt-cli bower
- run: npm install # this also includes "grunt dist"
- run: npm test
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

0 comments on commit 3dfdded

Please sign in to comment.