Skip to content

add github actions (#23) #5

add github actions (#23)

add github actions (#23) #5

name: Validate React Native Icon Pack
on:
push:
branches:
- main
paths:
- '.github/workflows/validate-react-native-icon-pack.yaml'
- 'react-native-icon-pack/'
pull_request:
paths:
- '.github/workflows/validate-react-native-icon-pack.yaml'
- 'react-native-icon-pack/'
merge_group:
branches:
- main
jobs:
check:
if: github.repository == 'software-mansion-labs/swm-icon-pack-react'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: cd react-native-icon-pack && yarn
- name: Prettier check
run: yarn format:native
- name: Eslint check
run: yarn lint:native