This repository has been archived by the owner on Aug 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from swrlab/dev/linter-mig
chore: move linter to new version
- Loading branch information
Showing
3 changed files
with
17 additions
and
47 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,13 @@ | ||
--- | ||
name: Linter | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
|
||
env: | ||
DEFAULT_BRANCH: main | ||
EDITORCONFIG_FILE_NAME: /.editorconfig | ||
IGNORE_GITIGNORED_FILES: true | ||
JAVASCRIPT_DEFAULT_STYLE: prettier | ||
JAVASCRIPT_ES_CONFIG_FILE: /.eslintrc.json | ||
LINTER_RULES_PATH: / | ||
LOG_LEVEL: VERBOSE | ||
MARKDOWN_CONFIG_FILE: /.markdownlint.yaml | ||
NODE_VERSION: 18 | ||
VALIDATE_ALL_CODEBASE: true | ||
YAML_CONFIG_FILE: /.github/linters/.yamllint.yaml | ||
|
||
jobs: | ||
build: | ||
name: Lint Code Base | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 70 | ||
steps: | ||
- name: 👀 Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: ⛺️ Install Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ env.NODE_VERSION }} | ||
cache: 'yarn' | ||
cache-dependency-path: '**/yarn.lock' | ||
|
||
- name: 📦 Install Dependencies | ||
run: yarn | ||
|
||
- name: 📚 Lint Code Base | ||
uses: docker://github/super-linter:v4 | ||
with: | ||
context: . | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
lint: | ||
uses: swrlab/node-utils/.github/workflows/linter.yml@main | ||
with: | ||
install-all: false | ||
generate-keys: false | ||
log-level: 'NOTICE' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# SWR Audio Lab / Prettier Changelog | ||
|
||
by [**SWR Audio Lab**](https://lab.swr.de/) | ||
|
||
## Changelog | ||
|
||
- 2022-08-09 - v0.2.0 | ||
- chore: update `super-linter` with new config | ||
- until 2022-08-09 - v0.1.2 | ||
- feat: first project setup |