mirror of
https://github.com/supabase/setup-cli.git
synced 2025-12-08 08:06:29 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
57 lines
1.3 KiB
YAML
57 lines
1.3 KiB
YAML
# This workflow will lint the entire codebase using the
|
|
# `super-linter/super-linter` action.
|
|
#
|
|
# For more information, see the super-linter repository:
|
|
# https://github.com/super-linter/super-linter
|
|
name: Lint Codebase
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
permissions:
|
|
contents: read
|
|
packages: read
|
|
statuses: write
|
|
|
|
jobs:
|
|
lint:
|
|
name: Lint Codebase
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
id: checkout
|
|
uses: actions/checkout@v5
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Setup Node.js
|
|
id: setup-node
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version-file: .node-version
|
|
cache: npm
|
|
|
|
- name: Install Dependencies
|
|
id: install
|
|
run: npm ci
|
|
|
|
- name: Lint Codebase
|
|
id: super-linter
|
|
uses: super-linter/super-linter/slim@v8
|
|
env:
|
|
DEFAULT_BRANCH: main
|
|
FILTER_REGEX_EXCLUDE: dist/**/*
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
LINTER_RULES_PATH: ${{ github.workspace }}
|
|
VALIDATE_ALL_CODEBASE: true
|
|
VALIDATE_JAVASCRIPT_ES: false
|
|
VALIDATE_JAVASCRIPT_STANDARD: false
|
|
VALIDATE_JSCPD: false
|
|
VALIDATE_TYPESCRIPT_ES: false
|
|
VALIDATE_JSON: false
|
|
VALIDATE_TYPESCRIPT_STANDARD: false
|