This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2022-05-09 19:22:41 +00:00
|
|
|
name: authentik-ci-website
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2022-06-03 17:40:09 +00:00
|
|
|
- main
|
2022-05-09 19:22:41 +00:00
|
|
|
- next
|
|
|
|
- version-*
|
|
|
|
pull_request:
|
|
|
|
branches:
|
2022-06-03 17:40:09 +00:00
|
|
|
- main
|
2022-05-09 19:22:41 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
lint-prettier:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
2022-05-17 07:27:50 +00:00
|
|
|
- uses: actions/setup-node@v3.2.0
|
2022-05-09 19:22:41 +00:00
|
|
|
with:
|
|
|
|
node-version: '16'
|
|
|
|
cache: 'npm'
|
|
|
|
cache-dependency-path: website/package-lock.json
|
|
|
|
- working-directory: website/
|
|
|
|
run: npm ci
|
|
|
|
- name: prettier
|
|
|
|
working-directory: website/
|
|
|
|
run: npm run prettier-check
|
2022-05-12 20:54:29 +00:00
|
|
|
ci-website-mark:
|
2022-05-09 19:22:41 +00:00
|
|
|
needs:
|
|
|
|
- lint-prettier
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- run: echo mark
|