[bin-build] Update build process to conditionally copy jsdoc and depl… #1032
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: CI | Gihub page | PWA Microservices Template Test | |
| on: [push] | |
| jobs: | |
| test: | |
| name: Template Test | |
| runs-on: ubuntu-latest | |
| container: | |
| image: quay.io/rockylinux/rockylinux:9 | |
| options: --entrypoint /bin/bash | |
| steps: | |
| - name: Clone repository | |
| uses: actions/checkout@v6 | |
| - name: Install required packages | |
| run: | | |
| dnf install -y sudo tar gzip bzip2 git | |
| dnf install -y curl --allowerasing | |
| - name: Install Node.js | |
| run: | | |
| curl -fsSL https://rpm.nodesource.com/setup_24.x | bash - | |
| dnf install nodejs -y | |
| - name: Get npm root | |
| run: npm root -g | |
| - name: Install underpost CLI | |
| run: npm install -g underpost | |
| - name: Run test | |
| run: underpost test |