-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from IT4Change/more-github-workflows
feat(frontend): stylelint & workflow build storybook
- Loading branch information
Showing
18 changed files
with
1,393 additions
and
74 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
2 changes: 1 addition & 1 deletion
2
.github/workflows/deploy.docs.yml → .github/workflows/frontend.deploy.docs.yml
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,4 +1,4 @@ | ||
name: "deploy:docs to github" | ||
name: "frontend:deploy:docs to github" | ||
on: | ||
push: | ||
branches: | ||
|
2 changes: 1 addition & 1 deletion
2
.github/workflows/test.build.code.yml → ...ub/workflows/frontend.test.build.code.yml
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,4 +1,4 @@ | ||
name: "test:build test code" | ||
name: "frontend:test:build test code" | ||
|
||
on: push | ||
|
||
|
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
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,34 @@ | ||
name: "frontend:test:build test storybook" | ||
|
||
on: push | ||
|
||
jobs: | ||
# only (but most important) job from this workflow required for pull requests | ||
# check results serve as run conditions for all other jobs here | ||
files-changed: | ||
name: Detect File Changes - frontend-test-build-storybook | ||
runs-on: ubuntu-latest | ||
outputs: | ||
changes: ${{ steps.changes.outputs.frontend-test-build-storybook }} | ||
steps: | ||
- uses: actions/checkout@v3.3.0 | ||
|
||
- name: Check for frontend file changes | ||
uses: dorny/paths-filter@v2.11.1 | ||
id: changes | ||
with: | ||
token: ${{ github.token }} | ||
filters: .github/file-filters.yml | ||
list-files: shell | ||
|
||
storybook: | ||
if: needs.files-changed.outputs.changes == 'true' | ||
name: Build Storybook - Frontend | ||
needs: files-changed | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Frontend | Build Storybook | ||
run: npm install && npm run storybook:build |
2 changes: 1 addition & 1 deletion
2
.github/workflows/test.lint.code.yml → ...hub/workflows/frontend.test.lint.code.yml
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,4 +1,4 @@ | ||
name: "test:lint code with defined linters" | ||
name: "frontend:test:lint code with defined linters" | ||
|
||
on: push | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
.github/workflows/test.unit.code.yml → ...hub/workflows/frontend.test.unit.code.yml
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
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
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,9 @@ | ||
{ | ||
"extends": [ | ||
"stylelint-config-standard", | ||
"stylelint-config-standard-scss", | ||
"stylelint-config-recommended-vue", | ||
"stylelint-config-recess-order", | ||
"stylelint-config-css-modules" | ||
] | ||
} |
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.