fix(deps): update dependency graphql to v16.8.1 [security] #2257
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
########################### | |
########################### | |
## 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@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 | |
########################## | |
# Github Super Linter needs | |
# the latest definitions installed | |
########################## | |
- name: Use Node.js 16.x | |
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.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:80ecaa58ad5f9480c66e3c77af5c955831861a41fb78ce7e0ffb1b443eca0f0f | |
# 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 |