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

Reviewed-on: http://gitea.genosjr.moe/l4kr/dashboard-ui/pulls/30
This commit is contained in:
l4kr 2023-09-13 15:16:38 +02:00
commit e6995498d3

View File

@ -1,25 +1,59 @@
# urmom ---
name: futon deploy #################################
#################################
## Super Linter GitHub Actions ##
#################################
#################################
name: Lint Code Base
#############################
# Start the job on all push #
#############################
on: on:
push:
branches-ignore: [master, main]
# Remove the line above to run when pushing to master or main
pull_request: pull_request:
types: [closed] branches: [master, main]
branches: [main]
###############
# Set the Job #
###############
jobs: jobs:
run-linters: build:
name: Run linters # Name the Job
runs-on: "ubuntu-latest" name: Lint Code Base
# Set the agent to run on
runs-on: ubuntu-latest
############################################
# Grant status permission for MULTI_STATUS #
############################################
permissions:
contents: read
packages: read
statuses: write
##################
# Load all steps #
##################
steps: steps:
- name: Checkout code ##########################
uses: actions/checkout@v4 # Checkout the code base #
##########################
- name: Checkout Code
uses: actions/checkout@v3
with:
# Full git history is needed to get a proper
# list of changed files within `super-linter`
fetch-depth: 0
- name: install Node.js ################################
uses: github/super-linter@v4 # Run Linter against code base #
################################
- name: Lint Code Base
uses: super-linter/super-linter@v5
env: env:
VALIDATE_ALL_CODEBASE: true VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: main
# - name: Minify dashit GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# uses: nizarmah/auto-minify@v2.1
# with:
# directory: './'
# output:'.'