Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: yarn
- run: yarn test
- run: yarn test:ci

build_and_deploy:
needs: tests
runs-on: ubuntu-latest
Expand Down
32 changes: 29 additions & 3 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,25 @@ jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: yarn
- run: yarn test
- name: Clone repository
uses: actions/checkout@v2

- name: Install node modules
run: yarn

- name: Run lint
run: yarn lint

- name: Run coverage tests
run: yarn test:ci

- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: '${{ secrets.GITHUB_TOKEN }}'
flag-name: Node14
parallel: true

build_and_preview:
needs: tests
runs-on: ubuntu-latest
Expand All @@ -23,3 +39,13 @@ jobs:
projectId: note-pwa-f3fb8
env:
FIREBASE_CLI_PREVIEWS: hostingchannels

finish:
needs: tests
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: '${{ secrets.github_token }}'
parallel-finished: true
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,15 @@
███ ███ ███ ███ ███ ▀▀███▀▀▀ ▀█████████▀ ███ ███ ▀███████████
███ ███ ███ ███ ███ ███ █▄ ███ ███ ███ ███ ███
███ ███ ███ ███ ███ ███ ███ ███ ███ ▄█▄ ███ ███ ███
▀█ █▀ ▀██████▀ ▄████▀ ██████████ ▄████▀ ▀███▀███▀ ███ █▀
▀█ █▀ ▀██████▀ ▄████▀ ██████████ ▄████▀ ▀███▀███▀ ███ █▀
</pre>
Note progressive web application with vue.js

> Note progressive web application with vue.js
<p align="center">
<a href="https://www.gnu.org/licenses/gpl-3.0.en.html" target="_blank"><img src="https://img.shields.io/static/v1?label=Licence&message=GPL-3.0&color=blue" alt="Licence" /></a>
<img src="https://github.com/Wils3B/note-pwa/actions/workflows/firebase-hosting-merge.yml/badge.svg" alt="Build" />
[![Coverage Status](https://coveralls.io/repos/github/Wils3B/note-pwa/badge.svg?branch=master)](https://coveralls.io/github/Wils3B/note-pwa?branch=master)
</p>

## Web App Build Setup

Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"start": "nuxt start",
"generate": "nuxt generate",
"lint": "eslint --ext .js,.vue --ignore-path .gitignore .",
"test": "jest"
"test": "jest",
"test:ci": "jest && coveralls < coverage/lcov.info"
},
"dependencies": {
"@nuxtjs/axios": "^5.13.6",
Expand All @@ -31,6 +32,7 @@
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^27.2.0",
"coveralls": "^3.1.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-nuxt": "^2.0.0",
Expand Down
Loading