generated from idrinth-api-bench/project-defaults
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
297 additions
and
442 deletions.
There are no files selected for viewing
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,48 @@ | ||
name: CodeQL | ||
on: | ||
push: | ||
branches: | ||
- the-one | ||
paths: | ||
- '**.ts' | ||
- '**.js' | ||
- '**.cjs' | ||
- 'package-lock.json' | ||
- '.github/workflows/codeql.yml' | ||
pull_request: | ||
branches: | ||
- the-one | ||
paths: | ||
- '**.ts' | ||
- '**.js' | ||
- '**.cjs' | ||
- 'package-lock.json' | ||
- '.github/workflows/codeql.yml' | ||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 360 | ||
permissions: | ||
security-events: write | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v3 | ||
with: | ||
languages: javascript-typescript | ||
queries: security-and-quality | ||
- name: Setup Node.js environment ${{ env.CURRENT_NODE_VERSION }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: latest | ||
cache: 'npm' | ||
cache-dependency-path: | | ||
package-lock.json | ||
- run: npm ci | ||
- run: npm run language | ||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v3 | ||
with: | ||
category: "/language:javascript-typescript" |
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,22 @@ | ||
name: Commit Message Lint | ||
on: | ||
push: | ||
branches: | ||
- the-one | ||
pull_request: | ||
branches: | ||
- the-one | ||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: latest | ||
cache: 'npm' | ||
cache-dependency-path: | | ||
package-lock.json | ||
- run: npm ci | ||
- run: npm run commitlint-ci |
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 |
---|---|---|
|
@@ -14,4 +14,4 @@ jobs: | |
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
exclude: | | ||
**/package-lock.json | ||
package-lock.json |
File renamed without changes.
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,35 @@ | ||
name: framework ESLINT | ||
on: | ||
push: | ||
branches: | ||
- the-one | ||
paths: | ||
- '**.ts' | ||
- '**.js' | ||
- '**.cjs' | ||
- '**.json' | ||
- '.github/workflows/eslint.yml' | ||
pull_request: | ||
branches: | ||
- the-one | ||
paths: | ||
- '**.ts' | ||
- '**.js' | ||
- '**.cjs' | ||
- '**.json' | ||
- '.github/workflows/eslint.yml' | ||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: latest | ||
cache: 'npm' | ||
cache-dependency-path: | | ||
package-lock.json | ||
- run: npm ci | ||
- run: npm run language | ||
- run: npm run lint |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.