Skip to content

chore(deps): update minor and patch #360

chore(deps): update minor and patch

chore(deps): update minor and patch #360

Workflow file for this run

name: Release
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches:
- master
- alpha
pull_request:
branches:
- master
- alpha
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: ./.github/actions/yarn_install
- name: lint
run: yarn lint
- name: typescript
run: yarn typescript
- name: unit test
run: yarn test
build_android:
name: Build android
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: ./.github/actions/yarn_install
- name: Assemble debug
working-directory: ./android
run: ./gradlew assembleDebug
- name: Assemble relese
working-directory: ./android
run: ./gradlew assembleRelease
release:
if: github.event.repository.fork == false
name: Release
needs: [build, build_android]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
persist-credentials: false
- uses: ./.github/actions/yarn_install
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_SECRET }}
run: npx semantic-release