Skip to content

Commit

Permalink
Merge pull request #105 from Jimdo/Migrate-from-TravisCI-to-GitHub-ac…
Browse files Browse the repository at this point in the history
…tions-CRE-1204

Migrate from TravisCI to GitHub actions CRE-1204
  • Loading branch information
jadismail91 authored Mar 21, 2022
2 parents 42b7903 + 1745487 commit 50d81ef
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 26 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build-and-run-tests.yml
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

25 changes: 0 additions & 25 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"karma-chrome-launcher": "^2.0.0",
"karma-coffee-preprocessor": "^1.0.0",
"karma-coverage": "^1.0.0",
"karma-firefox-launcher": "^1.0.0",
"karma-firefox-launcher": "v2.1.2",
"karma-html2js-preprocessor": "^1.0.0",
"karma-jasmine": "^1.0.2",
"karma-phantomjs-launcher": "^1.0.0",
Expand Down

0 comments on commit 50d81ef

Please sign in to comment.