Skip to content

GitHub Action

GitHub Action #4

Workflow file for this run

# Build validation
name: Build
on:
push:
branches-ignore:
- master
- experimental/**
pull_request:
types: [opened, synchronize, reopened]
branches-ignore:
- master
- experimental/**
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: ['22']
os: [ubuntu-latest]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- 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: aio app build
env:
AIO_RUNTIME_NAMESPACE: ${{ secrets.AIO_RUNTIME_NAMESPACE_STAGE }}
uses: adobe/[email protected]
with:
os: ${{ matrix.os }}
command: build
- name: aio app test
uses: adobe/[email protected]
with:
os: ${{ matrix.os }}
command: test