Skip to content

feat(android): orignal file path (#2209) #27

feat(android): orignal file path (#2209)

feat(android): orignal file path (#2209) #27

Workflow file for this run

name: Main CI
on:
pull_request:
push:
branches:
- main
jobs:
Main:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
yarn install
- name: Build
run: |
yarn prepare
- name: Publish to NPM
if: github.repository == 'react-native-image-picker/react-native-image-picker' && github.ref == 'refs/heads/main'
run: |
yarn ci:publish
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}