Skip to content

Commit

Permalink
ci: add github actions workflow for building streamely app
Browse files Browse the repository at this point in the history
  • Loading branch information
elyeandre committed Jul 24, 2024
1 parent 021048b commit f39fafe
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build Streamely App

on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'oracle'
java-version: '17'

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- name: Install Cordova
run: npm install -g cordova

- name: Add Android platform
run: cordova platform add android

- name: Install app dependencies
run: npm install

- name: Install app dependencies
run: cordova requirements

0 comments on commit f39fafe

Please sign in to comment.