Skip to content
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.

ci(deps): update node.js to f9b352a #2285

ci(deps): update node.js to f9b352a

ci(deps): update node.js to f9b352a #2285

Workflow file for this run

---
###########################
###########################
## Linter GitHub Actions ##
###########################
###########################
name: Lint Code Base
#
# Documentation:
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
#
#############################
# Start the job on all pull requests #
#############################
on:
# Run on every pull request created or updated
# https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#pull_request
pull_request:
###############
# Set the Job #
###############
jobs:
build:
# Name the Job
name: Lint Code Base
# Set the agent to run on
runs-on: ubuntu-latest
##################
# Load all steps #
##################
steps:
##########################
# Checkout the code base #
##########################
- name: Checkout Code
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
##########################
# Github Super Linter needs
# the latest definitions installed
##########################
- name: Use Node.js 16.x
uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # tag=v3.3.0
with:
node-version: 16.x
# Install our eslint packages.
# We may have custom tsconfigs, eslints that are brought in via a package.
- run: npm install
################################
# Run Linter against code base #
################################
- name: Lint Code Base
# We use the Github super linter, it can be cranky at times, so in that moment here are the docs https://github.com/github/super-linter
uses: docker://ghcr.io/github/super-linter:slim-v4@sha256:900277f36d47d5ddc460d901ea9dfcb1d348f7390066f800a0895cd88866b31f
# All Environment variables are defined here https://github.com/github/super-linter#environment-variables
env:
# The name of the repository default branch.
DEFAULT_BRANCH: main
# Directory for all linter configuration rules.
# This is the root of our codebase.
LINTER_RULES_PATH: /
# Will parse the entire repository and find all files to validate across all types.
# NOTE: When set to false, only new or edited files will be parsed for validation.
VALIDATE_ALL_CODEBASE: true
# Filename for ESLint configuration (ex: .eslintrc.yml, .eslintrc.json)
TYPESCRIPT_ES_CONFIG_FILE: .eslintrc.js
#####
# Note: All the VALIDATE[LANGUAGE] variables behave in a specific way.
# If none of them are passed, then they all default to true.
# However if any one of the variables are set, we default to leaving any unset variable to false.
# This means that if you run the linter “out of the box”, all languages will be checked.
# But if you wish to select specific linters, we give you full control to choose which linters are run, and won’t run anything unexpected.
####
# Flag to enable or disable the linting process of the JavaScript language. (Utilizing: eslint)
# Will validate any raw *.js in the repo like a jest.config.js
VALIDATE_JAVASCRIPT_ES: true
# Flag to enable or disable the linting process of the TypeScript language. (Utilizing: eslint)
VALIDATE_TYPESCRIPT_ES: true
# Flag to enable or disable the linting process of the YAML language.
VALIDATE_YAML: true