Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/npm_and_yarn/backend/eslint-plu…
Browse files Browse the repository at this point in the history
…gin-n-16.6.2
  • Loading branch information
Elweyn authored Feb 8, 2024
2 parents 74a3a7a + 39d189c commit 1d09e50
Show file tree
Hide file tree
Showing 12 changed files with 72 additions and 122 deletions.
26 changes: 26 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,29 @@ updates:
day: "saturday"
timezone: "Europe/Berlin"
time: "03:00"

# frontend
- package-ecosystem: "github-actions"
directory: "/frontend"
rebase-strategy: "disabled"
schedule:
interval: weekly
day: "saturday"
timezone: "Europe/Berlin"
time: "03:00"
- package-ecosystem: npm
directory: "/frontend"
rebase-strategy: "disabled"
schedule:
interval: weekly
day: "saturday"
timezone: "Europe/Berlin"
time: "03:00"
- package-ecosystem: docker
directory: "/frontend"
rebase-strategy: "disabled"
schedule:
interval: weekly
day: "saturday"
timezone: "Europe/Berlin"
time: "03:00"
19 changes: 19 additions & 0 deletions .github/file-filters.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# These file filter patterns are used by the action https://github.com/dorny/paths-filter

backend: &backend
- '.github/workflows/test-backend.yml'
- 'backend/**/*'
Expand Down Expand Up @@ -29,3 +31,20 @@ vuepress: &vuepress
documentation: &documentation
- *vuepress
- *markdown

# frontend
frontend-test-lint-code: &frontend-test-lint-code
- 'frontend/**/*'

frontend-test-unit-code: &frontend-test-unit-code
- 'frontend/**/*'

frontend-test-build-code: &frontend-test-build-code
- 'frontend/**/*'

frontend-test-build-docs: &frontend-test-build-docs
- 'frontend/**/*.md'
- 'frontend/.vuepress/*'

frontend-test-build-storybook: &frontend-test-build-storybook
- 'frontend/**/*'
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ jobs:
runs-on: ubuntu-latest
env:
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
WORKING_DIRECTORY: ./frontend
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Frontend | Build
run: npm install && npm run chromatic -- --exit-zero-on-changes
run: npm install && npm run chromatic -- --exit-zero-on-changes
working-directory: ${{env.WORKING_DIRECTORY}}
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,12 @@ jobs:
name: Build - Frontend
needs: files-changed
runs-on: ubuntu-latest
env:
WORKING_DIRECTORY: ./frontend
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Frontend | Build
run: npm install && npm run build
run: npm install && npm run build
working-directory: ${{env.WORKING_DIRECTORY}}
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,12 @@ jobs:
name: Build Docs - Frontend
needs: files-changed
runs-on: ubuntu-latest
env:
WORKING_DIRECTORY: ./frontend
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Frontend | Build Docs
run: npm install && npm run docs:build
run: npm install && npm run docs:build
working-directory: ${{env.WORKING_DIRECTORY}}
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,12 @@ jobs:
name: Build Storybook - Frontend
needs: files-changed
runs-on: ubuntu-latest
env:
WORKING_DIRECTORY: ./frontend
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Frontend | Build Storybook
run: npm install && npm run storybook:build
run: npm install && npm run storybook:build
working-directory: ${{env.WORKING_DIRECTORY}}
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,12 @@ jobs:
name: Lint - Frontend
needs: files-changed
runs-on: ubuntu-latest
env:
WORKING_DIRECTORY: ./frontend
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Frontend | Lint
run: npm install && npm run test:lint
run: npm install && npm run test:lint
working-directory: ${{env.WORKING_DIRECTORY}}
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,12 @@ jobs:
name: Unit - Frontend
needs: files-changed
runs-on: ubuntu-latest
env:
WORKING_DIRECTORY: ./frontend
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Frontend | Unit
run: npm install && npm run test:unit
run: npm install && npm run test:unit
working-directory: ${{env.WORKING_DIRECTORY}}
71 changes: 0 additions & 71 deletions .github/workflows/lint_pr.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@ jobs:
# fix
# feat
# Configure which scopes are allowed (newline delimited).
# Append a scope for each service here
scopes: |
backend
webapp
frontend
database
docu
docker
release
Expand Down Expand Up @@ -74,4 +76,4 @@ jobs:
# special "[WIP]" prefix to indicate this state. This will avoid the
# validation of the PR title and the pull request checks remain pending.
# Note that a second check will be reported if this is enabled.
wip: true
wip: true
26 changes: 0 additions & 26 deletions frontend/.github/dependabot.yml

This file was deleted.

17 changes: 0 additions & 17 deletions frontend/.github/file-filters.yml

This file was deleted.

0 comments on commit 1d09e50

Please sign in to comment.