Skip to content

T346029 ES Module #2239

T346029 ES Module

T346029 ES Module #2239

Workflow file for this run

name: Linting
on:
push:
branches:
- "main"
pull_request:
paths-ignore:
- 'docs/**'
- '*.md'
- '*.txt'
jobs:
lint_dockerfiles:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: hadolint/hadolint-action@v3.1.0
with:
recursive: true
lint_shell_scripts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: bewuethr/shellcheck-action@v2
lint_selenium_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: c-py/action-dotenv-to-setenv@v4
with:
env-file: variables.env
- name: cache
uses: actions/cache@v3
with:
path: |
**/node_modules
key: npm-lint-cache
- name: lint the selenium javascript tests
run: |
cd test
npm install
npm run lint
lint_diagrams:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: c-py/action-dotenv-to-setenv@v4
with:
env-file: variables.env
- name: cache
uses: actions/cache@v3
with:
path: |
**/node_modules
key: npm-lint-cache
- name: lint the selenium javascript tests
run: |
cd docs/diagrams
npm install
npm run lint