This repo. makes it easy to run tests and publish your app to Tini Console.
If you're tikie (Tiki Team) please contact Tini App team in #miniapp-community
For outside tiki, you can join slack:
- https://join.slack.com/t/tini-apps/shared_invite/zt-1cx4frath-0leZORN_O8LAX6oaCahsaQ
- or tini-apps.slack.com
- or email: viet.nguyen@tiki.vn
The script will increase version and build number based on your current version and status.
- If your current version is Draft -> it will increase the build number to next one.
- If your current version is NOT Draft -> it will increase the version and set build number to 1.
- TikiCI
- Github Action
- CircleCI (TODO)
- Create new CI workload on kratos
- Create Github Repo Action List
- Add 3 files config: .tikici.yml, Dockerfile, Jenkinsfile
- Use Dockerfile.sample for Dockerfile
Follow this guides https://docs.github.com/en/actions/security-guides/encrypted-secrets#creating-encrypted-secrets-for-a-repository for adding below secrets:
- APP_ID
- USER_ID
- DEVELOPER_ID
- ACCESS_TOKEN
Adds a workflow with .yml file:
on: [push]
jobs:
publish_tiniapp:
runs-on: ubuntu-latest
name: Publish TiniApp to Tini Console
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 15.0.1
- name: Install packages
run: npm install --network-timeout=300000
- name: Build and publish app to Tini Console
uses: tikivn/tiniapp-ci@main
with:
app-id: ${{secrets.APP_ID}}
user-id: ${{secrets.USER_ID}}
developer-id: ${{secrets.DEVELOPER_ID}}
access-token: ${{secrets.ACCESS_TOKEN}}
studio-version: 1.92.2
TBU