forked from idrinth-api-bench/issues
-
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.
feature(tools): add fta (idrinth-api-bench#699)
fixes idrinth-api-bench#684
- Loading branch information
Showing
16 changed files
with
2,768 additions
and
3,117 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,47 @@ | ||
name: cli FTA | ||
on: | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- 'cli/**.ts' | ||
- 'cli/**.tsx' | ||
- 'cli/**.js' | ||
- 'cli/**.cjs' | ||
- 'cli/**.json' | ||
- 'cli/**.svelte' | ||
- '.github/workflows/cli.fta.yml' | ||
pull_request: | ||
branches: | ||
- master | ||
paths: | ||
- 'cli/**.ts' | ||
- 'cli/**.tsx' | ||
- 'cli/**.js' | ||
- 'cli/**.cjs' | ||
- 'cli/**.json' | ||
- 'cli/**.svelte' | ||
- '.github/workflows/cli.fta.yml' | ||
env: | ||
PREVIOUS_NODE_VERSION: ${{ vars.PREVIOUS_NODE_VERSION || 'lts/*' }} | ||
CURRENT_NODE_VERSION: ${{ vars.CURRENT_NODE_VERSION || 'latest' }} | ||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js ${{ env.CURRENT_NODE_VERSION }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ env.CURRENT_NODE_VERSION }} | ||
cache: 'npm' | ||
cache-dependency-path: | | ||
framework/package-lock.json | ||
documentation-website/package-lock.json | ||
history-microservice/package-lock.json | ||
history-website/package-lock.json | ||
cli/package-lock.json | ||
package-lock.json | ||
- run: npm ci | ||
- run: cd cli && npm ci && npm run language | ||
- run: npm run fta -- cli || true |
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,47 @@ | ||
name: documentation-website FTA | ||
on: | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- 'documentation-website/**.ts' | ||
- 'documentation-website/**.tsx' | ||
- 'documentation-website/**.js' | ||
- 'documentation-website/**.cjs' | ||
- 'documentation-website/**.json' | ||
- 'documentation-website/**.svelte' | ||
- '.github/workflows/documentation-website.fta.yml' | ||
pull_request: | ||
branches: | ||
- master | ||
paths: | ||
- 'documentation-website/**.ts' | ||
- 'documentation-website/**.tsx' | ||
- 'documentation-website/**.js' | ||
- 'documentation-website/**.cjs' | ||
- 'documentation-website/**.json' | ||
- 'documentation-website/**.svelte' | ||
- '.github/workflows/documentation-website.fta.yml' | ||
env: | ||
PREVIOUS_NODE_VERSION: ${{ vars.PREVIOUS_NODE_VERSION || 'lts/*' }} | ||
CURRENT_NODE_VERSION: ${{ vars.CURRENT_NODE_VERSION || 'latest' }} | ||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js ${{ env.CURRENT_NODE_VERSION }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ env.CURRENT_NODE_VERSION }} | ||
cache: 'npm' | ||
cache-dependency-path: | | ||
framework/package-lock.json | ||
documentation-website/package-lock.json | ||
history-microservice/package-lock.json | ||
history-website/package-lock.json | ||
cli/package-lock.json | ||
package-lock.json | ||
- run: npm ci | ||
- run: cd documentation-website && npm ci && npm run language | ||
- run: npm run fta -- documentation-website || true |
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,47 @@ | ||
name: framework FTA | ||
on: | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- 'framework/**.ts' | ||
- 'framework/**.tsx' | ||
- 'framework/**.js' | ||
- 'framework/**.cjs' | ||
- 'framework/**.json' | ||
- 'framework/**.svelte' | ||
- '.github/workflows/framework.fta.yml' | ||
pull_request: | ||
branches: | ||
- master | ||
paths: | ||
- 'framework/**.ts' | ||
- 'framework/**.tsx' | ||
- 'framework/**.js' | ||
- 'framework/**.cjs' | ||
- 'framework/**.json' | ||
- 'framework/**.svelte' | ||
- '.github/workflows/framework.fta.yml' | ||
env: | ||
PREVIOUS_NODE_VERSION: ${{ vars.PREVIOUS_NODE_VERSION || 'lts/*' }} | ||
CURRENT_NODE_VERSION: ${{ vars.CURRENT_NODE_VERSION || 'latest' }} | ||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js ${{ env.CURRENT_NODE_VERSION }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ env.CURRENT_NODE_VERSION }} | ||
cache: 'npm' | ||
cache-dependency-path: | | ||
framework/package-lock.json | ||
documentation-website/package-lock.json | ||
history-microservice/package-lock.json | ||
history-website/package-lock.json | ||
cli/package-lock.json | ||
package-lock.json | ||
- run: npm ci | ||
- run: cd framework && npm ci && npm run language | ||
- run: npm run fta -- framework || true |
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,47 @@ | ||
name: history-microservice FTA | ||
on: | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- 'history-microservice/**.ts' | ||
- 'history-microservice/**.tsx' | ||
- 'history-microservice/**.js' | ||
- 'history-microservice/**.cjs' | ||
- 'history-microservice/**.json' | ||
- 'history-microservice/**.svelte' | ||
- '.github/workflows/history-microservice.fta.yml' | ||
pull_request: | ||
branches: | ||
- master | ||
paths: | ||
- 'history-microservice/**.ts' | ||
- 'history-microservice/**.tsx' | ||
- 'history-microservice/**.js' | ||
- 'history-microservice/**.cjs' | ||
- 'history-microservice/**.json' | ||
- 'history-microservice/**.svelte' | ||
- '.github/workflows/history-microservice.fta.yml' | ||
env: | ||
PREVIOUS_NODE_VERSION: ${{ vars.PREVIOUS_NODE_VERSION || 'lts/*' }} | ||
CURRENT_NODE_VERSION: ${{ vars.CURRENT_NODE_VERSION || 'latest' }} | ||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js ${{ env.CURRENT_NODE_VERSION }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ env.CURRENT_NODE_VERSION }} | ||
cache: 'npm' | ||
cache-dependency-path: | | ||
framework/package-lock.json | ||
documentation-website/package-lock.json | ||
history-microservice/package-lock.json | ||
history-microservice/package-lock.json | ||
cli/package-lock.json | ||
package-lock.json | ||
- run: npm ci | ||
- run: cd history-microservice && npm ci | ||
- run: npm run fta -- history-microservice |
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,47 @@ | ||
name: history-website FTA | ||
on: | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- 'history-website/**.ts' | ||
- 'history-website/**.tsx' | ||
- 'history-website/**.js' | ||
- 'history-website/**.cjs' | ||
- 'history-website/**.json' | ||
- 'history-website/**.svelte' | ||
- '.github/workflows/history-website.fta.yml' | ||
pull_request: | ||
branches: | ||
- master | ||
paths: | ||
- 'history-website/**.ts' | ||
- 'history-website/**.tsx' | ||
- 'history-website/**.js' | ||
- 'history-website/**.cjs' | ||
- 'history-website/**.json' | ||
- 'history-website/**.svelte' | ||
- '.github/workflows/history-website.fta.yml' | ||
env: | ||
PREVIOUS_NODE_VERSION: ${{ vars.PREVIOUS_NODE_VERSION || 'lts/*' }} | ||
CURRENT_NODE_VERSION: ${{ vars.CURRENT_NODE_VERSION || 'latest' }} | ||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js ${{ env.CURRENT_NODE_VERSION }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ env.CURRENT_NODE_VERSION }} | ||
cache: 'npm' | ||
cache-dependency-path: | | ||
framework/package-lock.json | ||
documentation-website/package-lock.json | ||
history-microservice/package-lock.json | ||
history-website/package-lock.json | ||
cli/package-lock.json | ||
package-lock.json | ||
- run: npm ci | ||
- run: cd history-website && npm ci && npm run language | ||
- run: npm run fta -- history-website || true |
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,5 +1,6 @@ | ||
{ | ||
"$schema": "https://unpkg.com/knip@5/schema.json", | ||
"entry": ["tools/**/*.js"], | ||
"project": ["tools/**/*.js"] | ||
"project": ["tools/**/*.js"], | ||
"ignoreDependencies": ["fta-cli"] | ||
} |
Oops, something went wrong.