diff --git a/.github/ISSUE_TEMPLATE/bug.md b/.github/ISSUE_TEMPLATE/bug.md new file mode 100644 index 0000000..0b5d85a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.md @@ -0,0 +1,30 @@ +--- +name: Bug +about: Defect +title: '' +labels: 'type: bug' +assignees: '' +--- + +**Description** + + +**Steps to reproduce** +1. Go to '...' +2. Click '....' +3. Scroll down to '....' +4. Note that + +**Desired functionality** + +**Screenshots** + +**Technical Info(optional):** + - Type: [e.g. Desktop, Telefon, Tablet] + - Screen resolution: [e.g. 1200x750 px] + - OS: [e.g. iOS, Android, Windows 10] + - Browser: [e.g. chrome, safari] + - App version [e.g. 0.2.1] + +**Additional informations** +Everything that may be helpful to fix defect. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/development-task.md b/.github/ISSUE_TEMPLATE/development-task.md new file mode 100644 index 0000000..2c17531 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/development-task.md @@ -0,0 +1,16 @@ +--- +name: Development Task +about: Feature +title: As , I want to . +labels: 'type: development task' +assignees: '' + +--- + +### Acceptance criteria +**Verify, consult and update before starting.** + +- [ ] //TODO1 +- [ ] //TODO2 + +### Additional notes \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/project-ui-ux.md b/.github/ISSUE_TEMPLATE/project-ui-ux.md new file mode 100644 index 0000000..07eefd8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/project-ui-ux.md @@ -0,0 +1,15 @@ +--- +name: Project UI/UX +about: 'UI/UX task' +title: '' +labels: 'UI/UX Design' +assignees: '' +--- + +**Miro/Figma Link** + +Link to the project + + + +**Mark User Story connected to this issue** \ No newline at end of file diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml new file mode 100644 index 0000000..15486db --- /dev/null +++ b/.github/workflows/node.js.yml @@ -0,0 +1,48 @@ +# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions + +name: Node.js CI + +on: + push: + paths-ignore: + - '**/*.md' + +jobs: + build: + name: 'Build application' + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: 16.x + - run: npm ci + - run: npm run build --if-present + - uses: actions/upload-artifact@v1 + name: Upload build as artifact + if: always() + with: + name: app-dist + path: ./dist + deploy-on-github-pages: + name: 'Deploy app to GitHub Pages from develop branch source code' + if: github.ref == 'refs/heads/develop' + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/download-artifact@v2 + with: + name: app-dist + path: ./dist + - name: Deploy app as GitHub Pages + uses: peaceiris/actions-gh-pages@v3.7.0-6 + if: ${{ github.event_name != 'pull_request' && always() }} + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: './dist' + user_name: 'github-actions[bot]' + user_email: 'github-actions[bot]@users.noreply.github.com' + force_orphan: true + keep_files: false