Run main CI workflow without caching (#4308)

This commit is contained in:
Jon Koops 2023-02-02 13:50:43 +01:00 committed by GitHub
parent 3047749890
commit db06a0efd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 28 deletions

View file

@ -12,30 +12,7 @@ concurrency:
env:
NODE_VERSION: 18
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:
needs: setup
runs-on: ubuntu-latest
strategy:
matrix:
@ -48,8 +25,8 @@ jobs:
- workspace: admin-ui
command: build
- workspace: admin-ui
# Account UI
command: cy:check-types
# Account UI
- workspace: account-ui
command: lint
- workspace: account-ui
@ -65,11 +42,18 @@ jobs:
- workspace: keycloak-masthead
command: build
steps:
- name: Restore setup
uses: actions/cache@v3
- name: Check out repository
uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v3
with:
path: ./*
key: ${{ github.sha }}
node-version: ${{ env.NODE_VERSION }}
check-latest: true
cache: npm
- name: Install dependencies
run: npm ci
- name: Set up Node
uses: actions/setup-node@v3

View file

@ -0,0 +1 @@
lib