Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature(tools): add fta #699

Merged
merged 3 commits into from
Apr 6, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions .github/workflows/cli.fta.yml
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
47 changes: 47 additions & 0 deletions .github/workflows/documentation-microservice.fta.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: documentation-microservice FTA
on:
push:
branches:
- master
paths:
- 'documentation-microservice/**.ts'
- 'documentation-microservice/**.tsx'
- 'documentation-microservice/**.js'
- 'documentation-microservice/**.cjs'
- 'documentation-microservice/**.json'
- 'documentation-microservice/**.svelte'
- '.github/workflows/documentation-microservice.fta.yml'
pull_request:
branches:
- master
paths:
- 'documentation-microservice/**.ts'
- 'documentation-microservice/**.tsx'
- 'documentation-microservice/**.js'
- 'documentation-microservice/**.cjs'
- 'documentation-microservice/**.json'
- 'documentation-microservice/**.svelte'
- '.github/workflows/documentation-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-microservice/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 documentation-microservice && npm ci && npm run language
- run: npm run fta -- documentation-microservice
47 changes: 47 additions & 0 deletions .github/workflows/documentation-website.fta.yml
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
47 changes: 47 additions & 0 deletions .github/workflows/framework.fta.yml
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
47 changes: 47 additions & 0 deletions .github/workflows/history-website.fta.yml
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
Loading
Loading