diff --git a/.github/workflows/backend.yaml b/.github/workflows/backend.yaml new file mode 100644 index 0000000..d94b516 --- /dev/null +++ b/.github/workflows/backend.yaml @@ -0,0 +1,26 @@ +name: Backend CI + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: '14' + + - name: Install dependencies + run: npm install + + - name: Run tests + run: npm test \ No newline at end of file diff --git a/.github/workflows/df b/.github/workflows/df deleted file mode 100644 index 8b13789..0000000 --- a/.github/workflows/df +++ /dev/null @@ -1 +0,0 @@ - diff --git a/.github/workflows/frontend.yaml b/.github/workflows/frontend.yaml new file mode 100644 index 0000000..3c742e1 --- /dev/null +++ b/.github/workflows/frontend.yaml @@ -0,0 +1,26 @@ +name: Frontend CI + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Flutter + uses: subosito/flutter-action@v2 + with: + flutter-version: '2.5.3' + + - name: Install dependencies + run: flutter pub get + + - name: Run tests + run: flutter test \ No newline at end of file