-
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.
* feat: add workflows * chore: add workflow build * fix: fix tests and build * fix: change deploy * fix: change build workflow * chore: add cspell * chore: Add cspell and typecheck * fix: add build-gh-pages target * fix: fix deploy * fix: change test command * chore: add build workflow * chore: Change for main branch * fix: fix package-lock.json * chore: delete tsconfig.spec.json * chore: delete extra code * chore: delete extra code #2 * chore: exclute specs * fix: delete style for app --------- Co-authored-by: Vladimir Potekhin <vladimir.potekh@gmail.com>
- Loading branch information
1 parent
2527043
commit 6d8465e
Showing
12 changed files
with
454 additions
and
200 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,18 @@ | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/master/cspell.schema.json", | ||
"import": ["@taiga-ui/cspell-config"], | ||
"files": ["*/*.*"], | ||
"ignorePaths": [ | ||
".git", | ||
".gitignore", | ||
".cspell.json", | ||
"**/dist/**", | ||
"**/assets/**", | ||
"**/node_modules/**", | ||
"*.{log,svg,snap,png,ogv,yml}", | ||
"**/package.json", | ||
"**/tsconfig*.json" | ||
], | ||
|
||
"ignoreWords": ["lumbermill", "Segoe", "Roboto", "Consolas", "Menlo", "Neue", "apos", "stafffrter"] | ||
} |
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,20 @@ | ||
name: Build | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
name: Build app | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.65.3 | ||
- uses: taiga-family/ci/actions/setup/variables@v1.65.3 | ||
- uses: taiga-family/ci/actions/setup/node@v1.65.3 | ||
- run: npx nx build | ||
|
||
concurrency: | ||
group: build-${{ github.head_ref }} | ||
cancel-in-progress: true |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Deploy | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.65.2 | ||
- uses: taiga-family/ci/actions/setup/variables@v1.65.2 | ||
- uses: taiga-family/ci/actions/setup/node@v1.65.2 | ||
- run: npx nx build-gh-pages taiga-lumbermill | ||
- uses: JamesIves/github-pages-deploy-action@v4.6.3 | ||
with: | ||
branch: gh-pages | ||
folder: dist/apps/taiga-lumbermill/browser | ||
silent: false | ||
clean: true | ||
|
||
concurrency: | ||
group: deploy-${{ github.head_ref }} | ||
cancel-in-progress: 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,54 @@ | ||
name: Lint | ||
on: [pull_request] | ||
|
||
jobs: | ||
typecheck: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.65.2 | ||
- uses: taiga-family/ci/actions/setup/variables@v1.65.2 | ||
- uses: taiga-family/ci/actions/setup/node@v1.65.2 | ||
- run: npm run typecheck | ||
|
||
cspell: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.65.2 | ||
- uses: taiga-family/ci/actions/setup/variables@v1.65.2 | ||
- uses: taiga-family/ci/actions/setup/node@v1.65.2 | ||
- run: npm run cspell -- --no-progress | ||
|
||
prettier: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.65.2 | ||
- uses: taiga-family/ci/actions/setup/variables@v1.65.2 | ||
- uses: taiga-family/ci/actions/setup/node@v1.65.2 | ||
- run: npm run prettier -- --write | ||
|
||
stylelint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.65.2 | ||
- uses: taiga-family/ci/actions/setup/variables@v1.65.2 | ||
- uses: taiga-family/ci/actions/setup/node@v1.65.2 | ||
- run: npm run stylelint -- --fix | ||
|
||
eslint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.65.2 | ||
- uses: taiga-family/ci/actions/setup/variables@v1.65.2 | ||
- uses: taiga-family/ci/actions/setup/node@v1.65.2 | ||
- run: npm run lint -- --fix | ||
|
||
result: | ||
needs: [prettier, eslint, stylelint, cspell, typecheck] | ||
runs-on: ubuntu-latest | ||
name: Lint result | ||
steps: | ||
- run: echo "Success" | ||
|
||
concurrency: | ||
group: lint-${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: 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,28 @@ | ||
name: Tests | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.65.2 | ||
- uses: taiga-family/ci/actions/setup/variables@v1.65.2 | ||
- uses: taiga-family/ci/actions/setup/node@v1.65.2 | ||
|
||
- name: Run tests | ||
run: npx nx run-many --target test --all --coverage | ||
|
||
- name: Archive coverage artifacts | ||
uses: actions/upload-artifact@v4.3.4 | ||
with: | ||
name: coverage-${{ github.workflow }}-${{ github.run_id }} | ||
path: coverage | ||
|
||
concurrency: | ||
group: test-${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: 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
Empty file.
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
Oops, something went wrong.