Add Azure Container Apps beginners workshop #251
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: Pull request validation | |
| on: | |
| pull_request: | |
| jobs: | |
| build_test: | |
| name: Build and Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 18 | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Create workshop database | |
| run: npm run create:db | |
| env: | |
| GITHUB_REPO_URL: ${{ github.event.repository.html_url }} | |
| - name: Build website | |
| run: npm run build:website | |
| - name: Build CLI | |
| run: npm run build:cli | |
| - name: Run linters & tests | |
| run: npm test --if-present --workspaces |