Skip to content

updated build scripts and node version #1

updated build scripts and node version

updated build scripts and node version #1

Workflow file for this run

name: AIO App CI
on: [pull_request]
jobs:
test:
name: Test PR
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: ['16']
os: [macOS-latest, ubuntu-latest, windows-latest]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install
run: npm i
- name: Setup CLI
uses: adobe/aio-cli-setup-action@1.1.0
with:
os: ${{ matrix.os }}
version: 8.x.x
- name: Auth
uses: adobe/aio-apps-action@2.0.1
with:
os: ${{ matrix.os }}
command: auth
CLIENTID: ${{ secrets.CLIENTID_STAGE }}
CLIENTSECRET: ${{ secrets.CLIENTSECRET_STAGE }}
TECHNICALACCOUNTID: ${{ secrets.TECHNICALACCID_STAGE }}
IMSORGID: ${{ secrets.IMSORGID_STAGE }}
SCOPES: ${{ secrets.SCOPES_STAGE }}
KEY: ${{ secrets.KEY_STAGE }}
- name: Build
env:
AIO_RUNTIME_NAMESPACE: ${{ secrets.AIO_RUNTIME_NAMESPACE_STAGE }}
uses: adobe/aio-apps-action@2.0.1
with:
os: ${{ matrix.os }}
command: build
- name: Test
uses: adobe/aio-apps-action@2.0.1
with:
os: ${{ matrix.os }}
command: test