Update adobe major (major) #1218
This file contains hidden or 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
| name: AIO App CI | |
| on: [pull_request] | |
| jobs: | |
| test: | |
| name: Test PR | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| node-version: ['18'] | |
| os: [macos-latest, ubuntu-latest, windows-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 }} | |
| cache: npm | |
| # aio-cli 8.x bundles an old node-gyp that imports distutils, removed from | |
| # Python 3.12+. Pin Python 3.11 so native deps build on runners that compile | |
| # from source (e.g. macOS arm64, Windows). This must run before `npm i`, which | |
| # can itself invoke node-gyp on those runners. | |
| - name: Use Python 3.11 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - 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: 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 |