-
Notifications
You must be signed in to change notification settings - Fork 2
46 lines (46 loc) · 1.37 KB
/
keycloakify-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: keycloakify-test
on:
workflow_dispatch:
pull_request:
paths:
- "keycloak/keycloakify/**"
- ".github/workflows/keycloakify-test.yml"
push:
branches:
- main
concurrency:
group: ci-${{ github.ref == 'refs/heads/main' && github.run_id || github.ref }}-keycloak-test
cancel-in-progress: true
jobs:
keycloakify-test:
name: Test keycloakify local builds
runs-on: ubuntu-latest
timeout-minutes: 30
defaults:
run:
working-directory: keycloak/keycloakify
steps:
- uses: actions/checkout@v4
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version-file: keycloak/keycloakify/.nvmrc
- run: |
corepack enable &&
corepack install # use the in-repo yarn version
- name: Setup Yarn in Node
uses: actions/setup-node@v4
with:
node-version-file: keycloak/keycloakify/.nvmrc
cache-dependency-path: keycloak/keycloakify/yarn.lock
cache: "yarn" # uses the system node, which was updated prior.
- name: Install dependencies
run: yarn install --immutable
- name: Build
run: yarn build
- name: Build storybook
run: yarn build-storybook
- name: Build keycloak theme
run: yarn build-keycloak-theme