File tree Expand file tree Collapse file tree 3 files changed +33
-13
lines changed Expand file tree Collapse file tree 3 files changed +33
-13
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ build :
7+ name : Browser tests
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v2
11+ - uses : ruby/setup-ruby@v1
12+ with :
13+ bundler-cache : true
14+ - uses : actions/setup-node@v2-beta
15+ with :
16+ node-version : 11
17+ - uses : actions/cache@v2
18+ with :
19+ path : test/node_modules
20+ key : ${{ runner.os }}-${{ hashFiles('test/yarn.lock') }}
21+
22+ - run : cd test && yarn install
23+ - run : bin/ci
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -e
33
4- if [ " $TRAVIS_REPO_SLUG " == " basecamp/trix" ] && [ " $TRAVIS_BRANCH " == " master" ] && [ " $TRAVIS_PULL_REQUEST " == " false" ]; then
4+ if [ -n " $CI " ]; then
5+ echo " GITHUB_ACTOR: $GITHUB_ACTOR "
6+ echo " GITHUB_EVENT_NAME: $GITHUB_EVENT_NAME "
7+ echo " GITHUB_SHA: $GITHUB_SHA "
8+ echo " GITHUB_REF: $GITHUB_REF "
9+ echo " GITHUB_HEAD_REF: $GITHUB_HEAD_REF "
10+ echo " GITHUB_BASE_REF: $GITHUB_BASE_REF "
11+ fi
12+
13+ if [ -n " $CI " ] && [ " $GITHUB_REF " == " refs/heads/master" ] && [ -z " $GITHUB_HEAD_REF " ]; then
514 $( base64 --decode <<< ZXhwb3J0IFNBVUNFX1VTRVJOQU1FPWJhc2VjYW1wX3RyaXgK )
615 $( base64 --decode <<< ZXhwb3J0IFNBVUNFX0FDQ0VTU19LRVk9MjY3OGE4NzMtNzJmNC00NzU2LTkzYjUtZjFhOGUyZTc3ODIxCg== )
716else
You can’t perform that action at this time.
0 commit comments