acid testing #36

Merged
l4kr merged 1 commits from futonbeta into main 2023-09-13 13:43:40 +00:00

View File

@ -1,57 +1,31 @@
--- name: Lint
#################################
#################################
## Super Linter GitHub Actions ##
#################################
#################################
name: Lint Code Base
#############################
# Start the job on all push #
#############################
on: on:
pull_request: pull_request:
types: [closed] types: [closed]
branches: [main] branches: [main]
###############
# Set the Job #
###############
jobs: jobs:
build: run-linters:
# Name the Job name: Run linters
name: Lint Code Base
# Set the agent to run on
runs-on: ubuntu-latest runs-on: ubuntu-latest
############################################
# Grant status permission for MULTI_STATUS #
############################################
permissions:
contents: read
packages: read
statuses: write
##################
# Load all steps #
##################
steps: steps:
########################## - name: Check out Git repository
# Checkout the code base #
##########################
- name: Checkout Code
uses: actions/checkout@v3 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: Set up Node.js
# Run Linter against code base # uses: actions/setup-node@v1
################################ with:
- name: Lint Code Base node-version: 12
uses: super-linter/super-linter@v5
env: # ESLint and Prettier must be in `package.json`
VALIDATE_ALL_CODEBASE: false - name: Install Node.js dependencies
DEFAULT_BRANCH: main run: npm ci
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run linters
uses: wearerequired/lint-action@v2
with:
eslint: true
prettier: true
stylelint: true