This repository has been archived by the owner on Oct 31, 2024. It is now read-only.
feat: update README and improve behavior with no arguments, or when there is an error #26
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: Smoke test | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
smoke-test: | |
runs-on: ubuntu-latest-16-core | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up NodeJS | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- name: Install deps | |
run: npm ci | |
- name: Build | |
run: npm run build | |
- name: Smoke root command | |
run: node dist/main --help | |
- name: Smoke start command | |
run: (node dist/main start 2>&1 | tee logfile & echo $! > pidfile ; tail -f logfile | grep -q "🔥 Everything is done! 🔥" && kill $(<pidfile)) | |
- name: Smoke clean command | |
run: node dist/main clean -v | |
- name: Upload logs | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: logs | |
path: /home/runner/.local/state/topos-playground/logs |