Revert "perf: improve native apps startup" #1123
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: Test GitHub Actions workflows | |
on: | |
workflow_dispatch: | |
workflow_call: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
branches-ignore: [staging, production] | |
paths: ['.github/**'] | |
jobs: | |
testGHWorkflows: | |
if: ${{ github.actor != 'OSBotify' && github.actor != 'imgbot[bot]' || github.event_name == 'workflow_call' }} | |
runs-on: ubuntu-latest | |
env: | |
CI: true | |
name: test GitHub Workflows | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: Expensify/App/.github/actions/composite/setupNode@main | |
- name: Setup Homebrew | |
uses: Homebrew/actions/setup-homebrew@master | |
- name: Login to GitHub Container Regstry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: OSBotify | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install Act | |
run: brew install act | |
- name: Set ACT_BINARY | |
run: echo "ACT_BINARY=$(which act)" >> "$GITHUB_ENV" | |
- name: Run tests | |
run: npm run workflow-test |