Skip to content

add script to run ios-test in CI #620

add script to run ios-test in CI

add script to run ios-test in CI #620

Workflow file for this run

name: Npm tests
on:
push:
branches:
- main
pull_request:
branches:
- main
- "**/main"
jobs:
tests:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: "16.x"
cache: "yarn"
- name: Install dependencies
run: yarn
- name: Run tests
run: yarn test
- name: Push yarn.lock update
run: |
git config --global user.email "bam.flashlight@gmail.com"
git config --global user.name "flashlight-bot"
git add yarn.lock && git diff --staged --quiet || git commit -m "chore: update yarn.lock"
git push