Reduce CI runs by ignoring pushes to branch and non-functional files #1070
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run CI | |
on: | |
push: | |
branches: [ "main" ] | |
paths-ignore: | |
- '**.md' | |
- '.vscode/*' | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
- '.vscode/*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- run: yarn install | |
- uses: borales/[email protected] | |
with: | |
cmd: ci | |
# publish.yml | |
# name: Expo Publish | |
# on: | |
# push: | |
# tags: | |
# - "v*" | |
# jobs: | |
# publish: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: 🏗 Setup repo | |
# uses: actions/checkout@v2 | |
# - name: 🏗 Setup Node | |
# uses: actions/setup-node@v2 | |
# with: | |
# node-version: 16.x | |
# cache: yarn | |
# - name: 🏗 Setup Expo | |
# uses: expo/expo-github-action@v7 | |
# with: | |
# expo-version: latest | |
# token: ${{ secrets.EXPO_TOKEN }} | |
# - name: 📦 Install dependencies | |
# run: yarn install | |
# - name: 🚀 Publish app | |
# run: expo publish --non-interactive |