Skip to content

Commit

Permalink
lint workflow added
Browse files Browse the repository at this point in the history
  • Loading branch information
Asad520 committed Feb 11, 2024
1 parent 13be30f commit c47e273
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Lint

on:
push:
branches-ignore:
pull_request:
branches:
- '*' # Run linting on pull requests

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install dependencies
run: yarn install

- name: Run linting
run: yarn lint
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"start": "react-native start",
"start:clean": "react-native start --reset-cache",
"test": "jest",
"pod": "cd ios; RCT_NEW_ARCH_ENABLED=1 bundle exec pod install --verbose; cd ..",
"pod": "cd ios; bundle install; RCT_NEW_ARCH_ENABLED=1 bundle exec pod install --verbose; cd ..",
"pod:clean": "rm -rf ios/Pods; rm ios/Podfile.lock; yarn pod"
},
"dependencies": {
Expand Down

0 comments on commit c47e273

Please sign in to comment.