Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jannacylee authored Nov 4, 2024
1 parent 26e7cad commit 8690a4a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8690a4a

Please sign in to comment.