Skip to content

Commit

Permalink
Fix path names in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Idrinth committed May 12, 2024
1 parent 39b3474 commit 86b839a
Show file tree
Hide file tree
Showing 26 changed files with 297 additions and 442 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/codeql.yml
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"
22 changes: 22 additions & 0 deletions .github/workflows/commit-message.yml
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
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
exclude: |
**/package-lock.json
package-lock.json
File renamed without changes.
35 changes: 35 additions & 0 deletions .github/workflows/eslint.yml
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
58 changes: 0 additions & 58 deletions .github/workflows/framework.codeql.yml

This file was deleted.

47 changes: 0 additions & 47 deletions .github/workflows/framework.eslint.yml

This file was deleted.

46 changes: 0 additions & 46 deletions .github/workflows/framework.fta.yml

This file was deleted.

47 changes: 0 additions & 47 deletions .github/workflows/framework.knip.yml

This file was deleted.

35 changes: 0 additions & 35 deletions .github/workflows/framework.language-lint.yml

This file was deleted.

35 changes: 0 additions & 35 deletions .github/workflows/framework.license-check.yml

This file was deleted.

Loading

0 comments on commit 86b839a

Please sign in to comment.