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

View file

@ -0,0 +1 @@
lib