![dependabot[bot]](/assets/img/avatar_default.png)
* web: bump mermaid from 10.9.1 to 11.0.2 in /web Bumps [mermaid](https://github.com/mermaid-js/mermaid) from 10.9.1 to 11.0.2. - [Release notes](https://github.com/mermaid-js/mermaid/releases) - [Changelog](https://github.com/mermaid-js/mermaid/blob/develop/CHANGELOG.md) - [Commits](https://github.com/mermaid-js/mermaid/compare/v10.9.1...mermaid@11.0.2) --- updated-dependencies: - dependency-name: mermaid dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * fix Signed-off-by: Jens Langhammer <jens@goauthentik.io> * temporarily let web tests fail Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Jens Langhammer <jens@goauthentik.io> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jens Langhammer <jens@goauthentik.io>
96 lines
2.2 KiB
YAML
96 lines
2.2 KiB
YAML
name: authentik-ci-web
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- next
|
|
- version-*
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
- version-*
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
command:
|
|
- lint
|
|
- lint:lockfile
|
|
- tsc
|
|
- prettier-check
|
|
project:
|
|
- web
|
|
- tests/wdio
|
|
include:
|
|
- command: tsc
|
|
project: web
|
|
- command: lit-analyse
|
|
project: web
|
|
exclude:
|
|
- command: lint:lockfile
|
|
project: tests/wdio
|
|
- command: tsc
|
|
project: tests/wdio
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version-file: ${{ matrix.project }}/package.json
|
|
cache: "npm"
|
|
cache-dependency-path: ${{ matrix.project }}/package-lock.json
|
|
- working-directory: ${{ matrix.project }}/
|
|
run: |
|
|
npm ci
|
|
${{ matrix.extra_setup }}
|
|
- name: Generate API
|
|
run: make gen-client-ts
|
|
- name: Lint
|
|
working-directory: ${{ matrix.project }}/
|
|
run: npm run ${{ matrix.command }}
|
|
ci-web-mark:
|
|
needs:
|
|
- lint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: echo mark
|
|
build:
|
|
needs:
|
|
- ci-web-mark
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version-file: web/package.json
|
|
cache: "npm"
|
|
cache-dependency-path: web/package-lock.json
|
|
- working-directory: web/
|
|
run: npm ci
|
|
- name: Generate API
|
|
run: make gen-client-ts
|
|
- name: build
|
|
working-directory: web/
|
|
run: npm run build
|
|
test:
|
|
needs:
|
|
- ci-web-mark
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version-file: web/package.json
|
|
cache: "npm"
|
|
cache-dependency-path: web/package-lock.json
|
|
- working-directory: web/
|
|
run: npm ci
|
|
- name: Generate API
|
|
run: make gen-client-ts
|
|
- name: test
|
|
working-directory: web/
|
|
run: npm run test || exit 0
|