Merge pull request #704 from fabiankachlock/dependabot/npm_and_yarn/f… #2306
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
name: Frontend Pipeline | |
on: | |
workflow_call: | |
workflow_dispatch: | |
push: | |
paths-ignore: | |
- "backend/**" | |
pull_request: | |
paths-ignore: | |
- "backend/**" | |
jobs: | |
frontend: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: zwoo-hq/setup-zwooc@v1 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: "8" | |
- name: Install dotnet wasm-tools | |
run: dotnet workload install wasm-tools | |
- name: Setup | |
working-directory: ./frontend | |
run: "yarn" | |
- name: Lint | |
run: "zwooc exec lint:ci" | |
- name: Check i18n | |
run: "zwooc exec i18n:check" | |
- name: Format | |
run: "zwooc exec format:ci" | |
# Prepare | |
- run: "zwooc exec build:themes" | |
- run: "zwooc exec build:icons" | |
- name: Dependency Check | |
run: "zwooc exec deps:check" | |
- name: Test | |
run: "zwooc exec test:unit" | |
- name: Build | |
run: "zwooc build prod" |