Merge pull request 'acid testing' (#21) from futonbeta into main

Reviewed-on: http://gitea.genosjr.moe/l4kr/dashboard-ui/pulls/21
This commit is contained in:
l4kr 2023-09-13 14:35:08 +02:00
commit ee7310f8d7
2 changed files with 49 additions and 28 deletions

View File

@ -2,12 +2,33 @@
name: futon deploy
on:
merge:
branches:
- main
pull_request:
types: [closed]
branches: [main]
jobs:
deploy:
lint:
runs-on: "ubuntu-latest"
steps:
- name: Checkout
- name: Checkout code
uses: actions/checkout@v2
- name: install Node.js
uses: actions/setup-node@v1
with: node-version:18.x
- name: Install dependencies
run: npm install
- name: Lint with
uses: wearerequired/lint-action@v2
with:
eslint: true
prettier: true
stylelint: true
htmlhint: true
# - name: Minify dashit
# uses: nizarmah/auto-minify@v2.1
# with:
# directory: './'
# output:'.'

View File

@ -1,22 +1,22 @@
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on:
pull_request:
types: [closed]
branches: [main]
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: Check out repository code
uses: actions/checkout@v3
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ gitea.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."
# name: Gitea Actions Demo
# run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
# on:
# pull_request:
# types: [closed]
# branches: [main]
#
# jobs:
# Explore-Gitea-Actions:
# runs-on: ubuntu-latest
# steps:
# - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
# - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
# - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
# - name: Check out repository code
# uses: actions/checkout@v3
# - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
# - run: echo "🖥️ The workflow is now ready to test your code on the runner."
# - name: List files in the repository
# run: |
# ls ${{ gitea.workspace }}
# - run: echo "🍏 This job's status is ${{ job.status }}."