refactor(deps): use pnpm
instead of yarn
#264
Workflow file for this run
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
name: Lint Code Base | |
on: | |
pull_request: | |
branches: ['master'] | |
paths: | |
- '**.js*' | |
- '**.ts*' | |
- "Dockerfile" | |
- 'package*.json' | |
- '.github/workflows/linter.yml' | |
push: | |
branches: ['master'] | |
paths: | |
- '**.js*' | |
- '**.ts*' | |
- "Dockerfile" | |
- 'package*.json' | |
- '.github/workflows/linter.yml' | |
concurrency: | |
# Ensures that only one workflow task will run at a time. Previous builds, if | |
# already in process, will get cancelled. Only the latest commit will be allowed | |
# to run, cancelling any workflows in between | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
linter: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code Repository | |
uses: actions/checkout@v4.1.0 | |
with: | |
# Full git history is needed to get a proper | |
# list of changed files within `super-linter` | |
fetch-depth: 0 | |
- name: Lint Code Base | |
uses: super-linter/super-linter/slim@v5.4.0 | |
env: | |
VALIDATE_ALL_CODEBASE: false | |
VALIDATE_SHELL_SHFMT: false | |
VALIDATE_JSCPD: false | |
VALIDATE_CSS: false | |
VALIDATE_EDITORCONFIG: false | |
VALIDATE_MARKDOWN: false | |
# TODO: hadolint can be activated after this PR is accepted, merged and a new version is tagged https://github.com/github/super-linter/pull/3500 | |
VALIDATE_DOCKERFILE_HADOLINT: false | |
LINTER_RULES_PATH: / | |
JAVASCRIPT_DEFAULT_STYLE: prettier | |
TYPESCRIPT_DEFAULT_STYLE: prettier | |
TYPESCRIPT_ES_LINTER_RULES: .eslintrc.json | |
TYPESCRIPT_STANDARD_TSCONFIG_LINTER_RULES: tsconfig.json | |
LOG_LEVEL: ERROR | |
DEFAULT_BRANCH: ${{ github.event.repository.default_branch }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |