-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added favicons and github workflow #patch
- Loading branch information
Showing
9 changed files
with
73 additions
and
0 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,72 @@ | ||
name: On_Push_Testing | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
|
||
test_build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup Environment | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.1.0 | ||
- run: npm install | ||
- run: npm run build | ||
- name: Bump version and push tag | ||
uses: anothrNick/github-tag-action@1.36.0 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
WITH_V: true | ||
DEFAULT_BUMP: patch | ||
- name: change latest tag | ||
uses: EndBug/latest-tag@latest | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
# You can change the name of the tag or branch with this input. | ||
# Default: 'latest' | ||
ref: 'latest' | ||
# If a description is provided, the action will use it to create an annotated tag. If none is given, the action will create a lightweight tag. | ||
# Default: '' | ||
description: 'latest version of the ${{ github.event.repository.name }}.' | ||
# Force-update a branch instead of using a tag. | ||
# Default: false | ||
force-branch: false | ||
|
||
release-manager: | ||
needs: test_build | ||
name: Check if ready for release | ||
runs-on: ubuntu-latest | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- run: echo ${{ github.event.repository.name }} | ||
name: Get latest tag of repo | ||
- uses: oprypin/find-latest-tag@v1 | ||
with: | ||
repository: vliz-be-opsci/${{ github.event.repository.name }} # The repository to scan. Change the part before the / to name or organisation where repo resides | ||
releases-only: false # Set to true if you want to know the tag linked to the latest release | ||
id: vliz-be-opsci # The step ID to refer to later. | ||
|
||
- run: echo "${{ github.event.repository.name }} is at version ${{ steps.vliz-be-opsci.outputs.tag }}" | ||
name: check if latest tag meets maor release requirements | ||
- uses: actions-ecosystem/action-regex-match@v2 | ||
id: regex-match | ||
with: | ||
text: ${{ steps.vliz-be-opsci.outputs.tag }} | ||
regex: 'v[0-9].0.0' | ||
- name: Create release | ||
if: ${{ steps.regex-match.outputs.match != '' }} | ||
uses: rymndhng/release-on-push-action@master | ||
with: | ||
bump_version_scheme: mayor |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
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 @@ | ||
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} |