Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

:kaaba: Updates issues for building/ checking app after PR

Alicia Sykescaee352d9ddf
diff --git a/.github/workflows/build-app.yml b/.github/workflows/build-app.yml
new file mode 100644
index 00000000..25d65190
--- /dev/null
+++ b/.github/workflows/build-app.yml
@@ -0,0 +1,24 @@
+# This action builds and deploys the master branch
+name: Deploy demo of current version
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+ workflow_dispatch:
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout πŸ›ŽοΈ
+ uses: actions/[email protected]
+ - name: Install and Build πŸ”§
+ run: |
+ npm install
+ npm run build
+ - name: Deploy πŸš€
+ uses: JamesIves/[email protected]
+ with:
+ branch: dev-demo
+ folder: dist
+
diff --git a/.github/workflows/code-linter.yml b/.github/workflows/code-linter.yml
new file mode 100644
index 00000000..d5be4189
--- /dev/null
+++ b/.github/workflows/code-linter.yml
@@ -0,0 +1,21 @@
+# Lints code merged into master branch
+name: Lint Code Base
+on:
+ push:
+ pull_request:
+ branches: [master]
+jobs:
+ build:
+ name: Lint Code Base
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout Code
+ uses: actions/checkout@v2
+ with:
+ fetch-depth: 0
+ - name: Lint Code Base
+ uses: github/super-linter@v4
+ env:
+ VALIDATE_ALL_CODEBASE: false
+ DEFAULT_BRANCH: master
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.github/workflows/code-spell-check.yml b/.github/workflows/code-spell-check.yml
new file mode 100644
index 00000000..dbd8b26c
--- /dev/null
+++ b/.github/workflows/code-spell-check.yml
@@ -0,0 +1,23 @@
+# Finds typos in the English language file, and submits a PR with fixes
+name: Auto-Fix Spelling
+on:
+ - push
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: sobolevn/misspell-fixer-action@master
+ # with:
+ # options: '-rsvn src/assets/locales/en.json'
+ - uses: peter-evans/[email protected]
+ with:
+ token: ${{ secrets.BOT_GITHUB_TOKEN }}
+ commit-message: ':pencil2: Auto-fix typos in translations file'
+ title: '[AUTO] Fix spelling in language file'
+ branch: AUTO/spelling-corrections
+ committer: Alicia Bot <[email protected]>
+ author: Liss-Bot
+ delete-branch: true
+ assignees: Lissy93
+ reviewers: Lissy93
\ No newline at end of file