This repository has been archived by the owner on Oct 31, 2024. It is now read-only.
feat: a bunch of user friendliness changes #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: 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 -v | tee >(grep -q "🔥 Everything is done! 🔥" && pkill -P $$); [ $? -eq 143 ]) | |
run: | | |
echo TEST="(node dist/main start -v | tee >(grep -q "Starting Topos-Playground..." && pkill -P $$); echo $?)" >> $GITHUB_OUTPUT | |
id: test | |
continue-on-error: true | |
- run: echo ${{ steps.test.outputs.TEST }} | |
- 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 |