-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
587b863
commit f4e4a18
Showing
5 changed files
with
54 additions
and
24 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,47 @@ | ||
name: Build | ||
|
||
on: [ push, pull_request, workflow_dispatch ] | ||
|
||
jobs: | ||
node: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: "Node Cache" | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.os }}-cache-node-${{ hashFiles('**/package.json', '**/package-lock.json') }} | ||
|
||
- name: "Node Cache Modules" | ||
uses: actions/cache@v2 | ||
with: | ||
path: node_modules | ||
key: ${{ runner.os }}-cache-node_modules-${{ hashFiles('**/package.json', '**/package-lock.json') }} | ||
|
||
- name: "Setup Node" | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 8 | ||
|
||
- name: "Install Node" | ||
run: npm install | ||
|
||
- name: "Starting Service" | ||
run: | | ||
npm start > /dev/null & | ||
npm run update-webdriver | ||
sleep 1 # give server time to start | ||
- name: "Running Tests" | ||
run: npm run test-ci | ||
|
||
- name: "Send to Coveralls (build node-${{ github.run_number }})" | ||
uses: MikeEdgar/github-action@raw_coverage_file | ||
with: | ||
github-token: ${{ secrets.github_token }} | ||
path-to-file: './coverage/coveralls.json' | ||
coverage-format: raw | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[![Build Status](https://travis-ci.org/TAMULib/LibraryServiceStatusSystemUI.svg?branch=master)](https://travis-ci.org/TAMULib/LibraryServiceStatusSystemUI) | ||
[![Build Status](https://github.com/TAMULib/LibraryServiceStatusSystemUI/workflows/Build/badge.svg)](https://github.com/TAMULib/LibraryServiceStatusSystemUI/actions?query=workflow%3ABuild) | ||
[![Coverage Status](https://coveralls.io/repos/github/TAMULib/LibraryServiceStatusSystemUI/badge.svg)](https://coveralls.io/github/TAMULib/LibraryServiceStatusSystemUI) | ||
|
||
Libraries Webservice Status | ||
=========================== | ||
Libraries Webservice Status UI | ||
=============================== | ||
|
||
An Angular UI that allows management and notification of Libraries Webservice Status. |
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