Skip to content

Commit

Permalink
keycloakify test
Browse files Browse the repository at this point in the history
  • Loading branch information
corneliusroemer committed May 11, 2024
1 parent 4b6a2a9 commit 196d93e
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/keycloakify-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: keycloakify-test

on:
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:
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: "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

0 comments on commit 196d93e

Please sign in to comment.