-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate from TravisCI to GitHub actions CRE-1204
Migrate from TravisCI to GitHub actions CRE-1204
- Loading branch information
1 parent
42b7903
commit 1745487
Showing
3 changed files
with
32 additions
and
26 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,31 @@ | ||
name: build and run tests | ||
on: | ||
pull_request | ||
jobs: | ||
build_and_run_tests_action: | ||
runs-on: ubuntu-latest | ||
env: | ||
PROTRACTOR_BROWSERS: firefox | ||
KARMA_BROWSERS: PhantomJS,Firefox | ||
DISPLAY: :99.0 | ||
name: Build and run action on on NodeJs 10 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 10 | ||
- run: sudo apt update | ||
- run: sudo apt-get install firefox -y | ||
- name: Install dependencies | ||
run: npm install | ||
- run: npm install -g grunt-cli | ||
- run: npm install -g bower | ||
- run: npm install --dev coffeescript | ||
- run: npm rebuild node-sass | ||
- run: cd sample_project && bower install | ||
- name: Run headless test | ||
uses: GabrielBB/xvfb-action@v1 | ||
with: | ||
run: grunt test | ||
|
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