Initial attempt at some basic end to end tests for the CLI. #103
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 Module | |
on: | |
pull_request: | |
branches: | |
- "main" | |
paths: | |
- "shared/**" | |
push: | |
branches: | |
- "main" | |
paths: | |
- "shared/**" | |
defaults: | |
run: | |
working-directory: ./shared | |
jobs: | |
shared-tests: | |
name: Run unit tests and lint | |
runs-on: ubuntu-latest | |
steps: | |
# Check out the repository | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: v20 | |
- run: npm ci | |
- run: npm run test | |
- run: npm run lint | |
- run: npm run build |