run only with ubuntu, update to node 22 #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |