2022-05-09 20:22:41 +01:00
|
|
|
name: authentik-ci-website
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- next
|
|
|
|
- version-*
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
lint-prettier:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
2022-05-17 08:27:50 +01:00
|
|
|
- uses: actions/setup-node@v3.2.0
|
2022-05-09 20:22:41 +01: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 21:54:29 +01:00
|
|
|
ci-website-mark:
|
2022-05-09 20:22:41 +01:00
|
|
|
needs:
|
|
|
|
- lint-prettier
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- run: echo mark
|