#446 - Upgrade CLI to 2024-10. #12
Workflow file for this run
This file contains 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 Shared | |
on: | |
pull_request: | |
branches: | |
- "main" | |
paths: | |
- "shared/**" | |
push: | |
branches: | |
- "main" | |
paths: | |
- "shared/**" | |
jobs: | |
shared: | |
name: Build, Test, and Lint Shared Module | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout PR Branch | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: v20 | |
- name: Install workspace | |
run: npm ci | |
- name: Lint Shared Module | |
run: npm run lint --workspace=shared | |
- name: Build workspace | |
run: npm run build --workspace=shared | |
- name: Run tests for Shared | |
run: npm run test --workspace=shared |