Skip to content

Commit

Permalink
Replaced travis configs with github workflows. Tweaked info focus style.
Browse files Browse the repository at this point in the history
  • Loading branch information
clpetersonucf committed Sep 19, 2023
1 parent 946ba43 commit 7a2eac7
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 35 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Widget Release Build
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+-alpha[0-9]+'
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Test and build with node ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Setup GIT user
uses: fregante/setup-git-user@v1

- run: yarn install --frozen-lockfile
- run: yarn build

- name: Upload Release .wigt
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/_output/*
tag: ${{ github.ref }}
overwrite: false
file_glob: true
24 changes: 24 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Run Tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.13.1]

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup GIT user
uses: fregante/setup-git-user@v1

- name: Run tests with Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install -g yarn
- run: yarn install
# - run: yarn test-ci
- run: yarn build
30 changes: 0 additions & 30 deletions .travis.yml

This file was deleted.

8 changes: 5 additions & 3 deletions src/player.scss
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,16 @@ canvas {
border-color:#00B0FF;
}

/** jad: added focus background */
.info {
margin: 0 auto;
width: 400px;
margin: 0 auto;
padding: 5px;
text-align: center;
}
.info:focus
{
background-color: #00f39c;
background-color: #abe4ff;
border-radius: 3px;
}

span {
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5800,7 +5800,7 @@ [email protected]:
js-snakecase "^1.2.0"
ngmodal ucfcdl/ngModal#v1.2.2

materia-widget-development-kit@^2.3.0:
materia-widget-development-kit@^2.5.2:
version "2.5.2"
resolved "https://registry.yarnpkg.com/materia-widget-development-kit/-/materia-widget-development-kit-2.5.2.tgz#831c7852bf2021cce8ed80a2b92d6153532b92f3"
integrity sha512-rth0CHtNm1R+5f1poDjHpx5iGzPTw9PjBexlp8KoBr/NaOFEPP8SCxZtBq2YltwRUcH3MOukLoa4k+566uTRXQ==
Expand Down Expand Up @@ -6186,7 +6186,7 @@ next-tick@^1.1.0:
resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.1.0.tgz#1836ee30ad56d67ef281b22bd199f709449b35eb"
integrity sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==

"ngmodal@github:ucfcdl/ngModal#v1.2.2":
ngmodal@ucfcdl/ngModal#v1.2.2:
version "1.2.2"
resolved "https://codeload.github.com/ucfcdl/ngModal/tar.gz/6abad982bdb8f258ffcdc20316a907c2292399d2"

Expand Down

0 comments on commit 7a2eac7

Please sign in to comment.