Skip to content

Commit

Permalink
feat: migrate to GitHub Actions from Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
kkweon committed Aug 11, 2021
1 parent 67a60fd commit 37eded2
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 18 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI

on:
push:
branches:
- master
pull_request:

jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions/setup-node@v2
with:
node-version: lts/*

- run: |
yarn
yarn test
- run: yarn prod:start
if: ${{ github.ref == 'refs/heads/master' && github.event_name == 'push' }}
6 changes: 3 additions & 3 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
pull_request_rules:
- name: Automatic merge on approval
conditions:
- "#approved-reviews-by>=1"
- check-success=Travis CI - Branch
- '#approved-reviews-by>=1'
- check-success=build-and-test
actions:
merge:
method: merge
- name: automatic merge for Dependabot pull requests
conditions:
- author~=^dependabot(|-preview)\[bot\]$
- check-success=Travis CI - Branch
- check-success=build-and-test
actions:
merge:
method: merge
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

0 comments on commit 37eded2

Please sign in to comment.