diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..b08716bb --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,13 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: / + schedule: + interval: daily + target-branch: 'develop' + + - package-ecosystem: npm + directory: / + schedule: + interval: daily + target-branch: 'develop' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..eed8d842 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,26 @@ +name: Test + +on: + pull_request: + push: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Install dependencies + run: npm install + + - name: Lint + run: npm run lint + + - name: Build + run: npm run build + + - name: Generate + run: npm run generate + + diff --git a/README.md b/README.md index 9e5d55bf..6daddffd 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Torrust Index Frontend +[![Test](https://github.com/torrust/torrust-index-frontend/actions/workflows/test.yml/badge.svg)](https://github.com/torrust/torrust-index-frontend/actions/workflows/test.yml) + This repository serves as the frontend for the [Torrust Index](https://github.com/torrust/torrust-index) project. It contains the [vue-3](https://vuejs.org/) frontend web application for the [Torrust Index](https://github.com/torrust/torrust-index). diff --git a/components/Markdown.vue b/components/Markdown.vue index c8350cf2..43aecf5f 100644 --- a/components/Markdown.vue +++ b/components/Markdown.vue @@ -1,4 +1,5 @@ + diff --git a/components/form/FormInputText.vue b/components/form/FormInputText.vue index 1be25a9c..9d339c0c 100644 --- a/components/form/FormInputText.vue +++ b/components/form/FormInputText.vue @@ -1,13 +1,13 @@ - - {{ props.label }} + + {{ props.label }} @@ -15,6 +15,10 @@