Skip to content

Commit

Permalink
simplify CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed Nov 20, 2024
1 parent b2e948f commit 38cef57
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 139 deletions.
37 changes: 20 additions & 17 deletions .github/workflows/pr_test.yml → .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
name: AIO App CI
# Build validation

name: Build

on:
push:
branches-ignore:
- master
- experimental/**
pull_request:
types: [opened, synchronize, reopened]
branches-ignore:
- master
- experimental/**
workflow_dispatch:

on: [pull_request]
jobs:
test:
name: Test PR
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand All @@ -16,24 +28,15 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: npm install
run: npm i
- name: npm ci
run: npm ci
- name: npm run lint
run: npm run lint
- name: Setup CLI
uses: adobe/[email protected]
with:
os: ${{ matrix.os }}
version: 10.x.x
- name: Auth
uses: adobe/[email protected]
with:
os: ${{ matrix.os }}
command: oauth_sts
CLIENTID: ${{ secrets.CLIENTID_STAGE }}
CLIENTSECRET: ${{ secrets.CLIENTSECRET_STAGE }}
TECHNICALACCOUNTID: ${{ secrets.TECHNICALACCID_STAGE }}
TECHNICALACCOUNTEMAIL: ${{ secrets.TECHNICALACCEMAIL_STAGE }}
IMSORGID: ${{ secrets.IMSORGID_STAGE }}
SCOPES: ${{ secrets.SCOPES_STAGE }}
- name: Build
env:
AIO_RUNTIME_NAMESPACE: ${{ secrets.AIO_RUNTIME_NAMESPACE_STAGE }}
Expand Down
60 changes: 0 additions & 60 deletions .github/workflows/deploy_prod.yml

This file was deleted.

62 changes: 0 additions & 62 deletions .github/workflows/deploy_stage.yml

This file was deleted.

0 comments on commit 38cef57

Please sign in to comment.