Run main CI workflow without caching (#4308)
This commit is contained in:
parent
3047749890
commit
db06a0efd8
2 changed files with 13 additions and 28 deletions
40
.github/workflows/main.yml
vendored
40
.github/workflows/main.yml
vendored
|
@ -12,30 +12,7 @@ concurrency:
|
||||||
env:
|
env:
|
||||||
NODE_VERSION: 18
|
NODE_VERSION: 18
|
||||||
jobs:
|
jobs:
|
||||||
setup:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Check out repository
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Set up Node
|
|
||||||
uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version: ${{ env.NODE_VERSION }}
|
|
||||||
check-latest: true
|
|
||||||
cache: npm
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: npm ci
|
|
||||||
|
|
||||||
- name: Cache setup
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: ./*
|
|
||||||
key: ${{ github.sha }}
|
|
||||||
|
|
||||||
run:
|
run:
|
||||||
needs: setup
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -48,8 +25,8 @@ jobs:
|
||||||
- workspace: admin-ui
|
- workspace: admin-ui
|
||||||
command: build
|
command: build
|
||||||
- workspace: admin-ui
|
- workspace: admin-ui
|
||||||
# Account UI
|
|
||||||
command: cy:check-types
|
command: cy:check-types
|
||||||
|
# Account UI
|
||||||
- workspace: account-ui
|
- workspace: account-ui
|
||||||
command: lint
|
command: lint
|
||||||
- workspace: account-ui
|
- workspace: account-ui
|
||||||
|
@ -65,11 +42,18 @@ jobs:
|
||||||
- workspace: keycloak-masthead
|
- workspace: keycloak-masthead
|
||||||
command: build
|
command: build
|
||||||
steps:
|
steps:
|
||||||
- name: Restore setup
|
- name: Check out repository
|
||||||
uses: actions/cache@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Set up Node
|
||||||
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
path: ./*
|
node-version: ${{ env.NODE_VERSION }}
|
||||||
key: ${{ github.sha }}
|
check-latest: true
|
||||||
|
cache: npm
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: npm ci
|
||||||
|
|
||||||
- name: Set up Node
|
- name: Set up Node
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
|
|
1
libs/keycloak-admin-client/.eslintignore
Normal file
1
libs/keycloak-admin-client/.eslintignore
Normal file
|
@ -0,0 +1 @@
|
||||||
|
lib
|
Loading…
Reference in a new issue