Files
performics_dev/.gitea/workflows/azure-pipelines.yml
T
NishantRajputRN a177e7e961
Performics DevOps / Performics DevOps Pipeline (push) Has been cancelled
test
2026-04-28 12:17:56 +05:30

49 lines
1.0 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Gitea Actions workflow (GitHub Actionscompatible schema).
# Root `azure-pipelines.yml` remains for Azure DevOps; this file runs on Gitea Actions.
#
# `runs-on` must match a label on an online runner (Admin → Actions → Runners).
# Current runner labels are: ubuntu-latest, ubuntu-22.04, ubuntu-20.04.
# Keep `runs-on` aligned with one of those labels.
name: Performics DevOps
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
NODE_VERSION: '22'
jobs:
build-and-test:
name: Performics DevOps Pipeline
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Diagnostics
run: |
set -euo pipefail
node -v
npm -v
pwd
- name: npm ci
run: |
set -euo pipefail
npm ci
- name: Android assembleRelease
run: |
set -euo pipefail
cd android
./gradlew assembleRelease