Skip to content

add github actions

add github actions #4

name: Validate Example Native
on:
push:
branches:
- main
paths:
- '.github/workflows/validate-example-native.yaml'
- 'exampleNative/'
pull_request:
paths:
- '.github/workflows/validate-example-native.yaml'
- 'exampleNative/'
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 exampleNative && yarn
- name: Prettier check
run: yarn format:exampleNative
- name: Eslint check
run: yarn lint:exampleNative