Feature/workflow #2
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: Solar System Workflow | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
- 'feature/*' | ||
<<<<<<< HEAD | ||
======= | ||
env: | ||
MONGO_URI: mongodb+srv://supercluster.d83jj.mongodb.net/superData | ||
MONGO_USERNAME: superuser | ||
>>>>>>> 5c30183ce71baecedb87312c7f8f4963ac93541b | ||
jobs: | ||
unit-testing: | ||
name: Unit Testing | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
- name: Setup NodeJS Version | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20 | ||
- name: Install Dependencies | ||
run: npm install | ||
- name: Unit Testing | ||
run: npm test | ||
- name: Archive Test Result | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: Mocha-Test-Result | ||
path: test-results.xml |