test 2
This commit is contained in:
@@ -2,3 +2,4 @@ console.log("trest")
|
|||||||
console.log("trest")
|
console.log("trest")
|
||||||
console.log("trest")
|
console.log("trest")
|
||||||
console.log("trest")
|
console.log("trest")
|
||||||
|
console.log("trest")
|
||||||
@@ -1,71 +0,0 @@
|
|||||||
# Azure Pipelines — React Native (JS CI)
|
|
||||||
# https://learn.microsoft.com/azure/devops/pipelines/yaml-schema
|
|
||||||
#
|
|
||||||
# Same self-hosted pool as other repos — if this pipeline stays Queued or ignores your agent:
|
|
||||||
# 1) Pipelines → this pipeline → Edit → ⋯ → Triggers → YAML file path must be THIS file
|
|
||||||
# (repo root: /PerformicsDevOps.yml). Default lookup is only /azure-pipelines.yml.
|
|
||||||
# 2) Project Settings → Agent pools → PerformicsCICD → Security → grant this pipeline access
|
|
||||||
# (or enable "Grant access permission to all pipelines").
|
|
||||||
#
|
|
||||||
# Run on every push directly to main (and when merging into main via PR).
|
|
||||||
name: PerformicsDevOps-$(Date:yyyyMMdd)$(Rev:.r)
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
branches:
|
|
||||||
include:
|
|
||||||
- main
|
|
||||||
|
|
||||||
pr:
|
|
||||||
branches:
|
|
||||||
include:
|
|
||||||
- main
|
|
||||||
|
|
||||||
variables:
|
|
||||||
NODE_VERSION: '22.x'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
- job: BuildAndTest
|
|
||||||
displayName: Performics DevOps Pipeline
|
|
||||||
# Self-hosted pool "PerformicsCICD" (same pattern as working Deeplink/azure-pipelines.yml).
|
|
||||||
pool:
|
|
||||||
name: PerformicsCICD
|
|
||||||
steps:
|
|
||||||
- checkout: self
|
|
||||||
displayName: Checkout
|
|
||||||
continueOnError: false
|
|
||||||
|
|
||||||
- task: NodeTool@0
|
|
||||||
displayName: Use Node.js
|
|
||||||
continueOnError: false
|
|
||||||
inputs:
|
|
||||||
versionSpec: $(NODE_VERSION)
|
|
||||||
|
|
||||||
- script: |
|
|
||||||
set -euo pipefail
|
|
||||||
node -v
|
|
||||||
npm -v
|
|
||||||
pwd
|
|
||||||
displayName: Diagnostics
|
|
||||||
continueOnError: false
|
|
||||||
|
|
||||||
- script: |
|
|
||||||
set -euo pipefail
|
|
||||||
npm ci
|
|
||||||
displayName: npm ci
|
|
||||||
continueOnError: false
|
|
||||||
|
|
||||||
# - script: |
|
|
||||||
# set -euo pipefail
|
|
||||||
# npm run lint
|
|
||||||
# displayName: ESLint
|
|
||||||
# continueOnError: false
|
|
||||||
|
|
||||||
# - script: |
|
|
||||||
# set -euo pipefail
|
|
||||||
# cd android
|
|
||||||
# ./gradlew assembleRelease
|
|
||||||
# displayName: Android assembleRelease
|
|
||||||
# continueOnError: false
|
|
||||||
|
|
||||||
# - script: npm test -- --ci --coverage
|
|
||||||
# displayName: Jest
|
|
||||||
+8
-8
@@ -3,12 +3,12 @@
|
|||||||
#
|
#
|
||||||
# Same self-hosted pool as other repos — if this pipeline stays Queued or ignores your agent:
|
# Same self-hosted pool as other repos — if this pipeline stays Queued or ignores your agent:
|
||||||
# 1) Pipelines → this pipeline → Edit → ⋯ → Triggers → YAML file path must be THIS file
|
# 1) Pipelines → this pipeline → Edit → ⋯ → Triggers → YAML file path must be THIS file
|
||||||
# (repo root: /PerformicsDevOps.yml). Default lookup is only /azure-pipelines.yml.
|
# (repo root: /azure-pipelines.yml).
|
||||||
# 2) Project Settings → Agent pools → PerformicsCICD → Security → grant this pipeline access
|
# 2) Project Settings → Agent pools → PerformicsCICD → Security → grant this pipeline access
|
||||||
# (or enable "Grant access permission to all pipelines").
|
# (or enable "Grant access permission to all pipelines").
|
||||||
#
|
#
|
||||||
# Run on every push directly to main (and when merging into main via PR).
|
# Run on every push directly to main (and when merging into main via PR).
|
||||||
# name: PerformicsDevOps-$(Date:yyyyMMdd)$(Rev:.r)
|
name: PerformicsDevOps-$(Date:yyyyMMdd)$(Rev:.r)
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branches:
|
branches:
|
||||||
@@ -60,12 +60,12 @@ jobs:
|
|||||||
# displayName: ESLint
|
# displayName: ESLint
|
||||||
# continueOnError: false
|
# continueOnError: false
|
||||||
|
|
||||||
# - script: |
|
- script: |
|
||||||
# set -euo pipefail
|
set -euo pipefail
|
||||||
# cd android
|
cd android
|
||||||
# ./gradlew assembleRelease
|
./gradlew assembleRelease
|
||||||
# displayName: Android assembleRelease
|
displayName: Android assembleRelease
|
||||||
# continueOnError: false
|
continueOnError: false
|
||||||
|
|
||||||
# - script: npm test -- --ci --coverage
|
# - script: npm test -- --ci --coverage
|
||||||
# displayName: Jest
|
# displayName: Jest
|
||||||
|
|||||||
Reference in New Issue
Block a user