fix: don't try to open empty modal on mobile when camera is the only … #338
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: Ship js Prepare | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
prepare: | |
runs-on: ubuntu-latest | |
if: ${{ !startsWith(github.event.head_commit.message, format('chore{0} release', ':')) }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
ref: main | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- run: npm ci | |
- run: | | |
git config --global user.email "github-actions[bot]@users.noreply.github.com" | |
git config --global user.name "github-actions[bot]" | |
- run: npm run release -- --yes --no-browse | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SLACK_INCOMING_HOOK: ${{ secrets.SLACK_INCOMING_HOOK }} |