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

49 lines
1.1 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).
# For host runners, `linux_amd64` is the common label (`linux_amd64:host`).
# If jobs stay queued, set this to the exact label name shown for your runner.
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: linux_amd64
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