diff --git a/OHours/.github/workflows/main.yml b/OHours/.github/workflows/main.yml new file mode 100644 index 00000000..29b0a8e8 --- /dev/null +++ b/OHours/.github/workflows/main.yml @@ -0,0 +1,16 @@ +name: React CI-OHours + +on: [push] + +jobs: + build: + name: Build and unit test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: '21' + - run: npm install + - run: npm run build --if-present + - run: npm test \ No newline at end of file