USF-3819: PLP Pre-rendering #734
Workflow file for this run
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: Build and Test | |
| on: [pull_request] | |
| jobs: | |
| test: | |
| name: Test PR | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| node-version: ['22'] | |
| os: [ubuntu-latest] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: npm install | |
| run: npm i | |
| - name: Setup CLI | |
| uses: adobe/aio-cli-setup-action@1.3.0 | |
| with: | |
| os: ${{ matrix.os }} | |
| version: 10.x.x | |
| - name: Build | |
| env: | |
| AIO_RUNTIME_NAMESPACE: ${{ secrets.AIO_RUNTIME_NAMESPACE_STAGE }} | |
| uses: adobe/aio-apps-action@3.4.0 | |
| with: | |
| os: ${{ matrix.os }} | |
| command: build | |
| - name: Lint | |
| run: npm run lint | |
| - name: Test | |
| run: npm run test |