Skip to content

Commit

Permalink
Merge pull request #87 from COS301-SE-2024/feat/actions/mobile-lint-test
Browse files Browse the repository at this point in the history
chore: Remove unused mobile test workflow
  • Loading branch information
waveyboym authored Jun 24, 2024
2 parents 34c7ce0 + fb952ba commit 5649409
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 34 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/lint-test-mobile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Lint and Test Mobile

on:
pull_request:
branches:
- develop
paths: [
"frontend/occupi-mobile4/**",
".github/workflows/lint-test-mobile.yml"
]

workflow_dispatch:

defaults:
run:
working-directory: frontend/occupi-mobile4

jobs:
lint:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18

- name: Install Dependencies
run: npm install --legacy-peer-deps

- name: Lint
run: npm run lint

test:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18

- name: Install Dependencies
run: npm install --legacy-peer-deps

- name: Run Tests
run: npm run test
34 changes: 0 additions & 34 deletions .github/workflows/test-mobile.yml

This file was deleted.

0 comments on commit 5649409

Please sign in to comment.