-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #195 from edx/aht/BOM-2944-replace-travis-with-github
BOM-2944: Replace Travis with GitHub CI
- Loading branch information
Showing
5 changed files
with
52 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Node CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- "**" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Nodejs | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 8 | ||
|
||
- name: Export CHROME_BIN Env Variable | ||
run: export CHROME_BIN=chromium-browser | ||
|
||
- name: Export Display Variable | ||
run: export DISPLAY=:99.0 | ||
|
||
- name: Install Ruby | ||
uses: ruby/setup-ruby@477b21f02be01bcb8030d50f37cfec92bfa615b6 | ||
with: | ||
ruby-version: 2.2 | ||
|
||
- name: Install Dependencies | ||
run: npm install | ||
|
||
- name: Bundle Install | ||
run: bundle install | ||
|
||
- name: Install Firefox | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install --no-install-recommends -y firefox xvfb | ||
- name: Run Gulp | ||
uses: GabrielBB/xvfb-action@v1 | ||
with: | ||
run: gulp default --ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
|
||
.gitignore | ||
.npmignore | ||
.travis.yml | ||
_config.yml | ||
_preview_site | ||
_site | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters