Skip to content

Commit

Permalink
feat: adapt some stuff for SDK 51 and pipeline for 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorJorgeFGA committed Aug 19, 2024
1 parent d68530b commit 4b3ee22
Show file tree
Hide file tree
Showing 17 changed files with 7,057 additions and 9,557 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ on:
push:
branches:
- develop
- teste/sonar
- sonar/carrigindo_sonar
- teste/sonarcloud
- chore/adapt-for-2024-1

pull_request:
types: [opened, synchronize, reopened]
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/metrics.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
name: Export de métricas

on:
push:
branches: [main, develop]
tags:
- 'v*'
pull_request:
branches:
- main
- develop
types: [closed]

jobs:
release:
Expand All @@ -17,13 +18,13 @@ jobs:
run: mkdir analytics-raw-data

- name: Coletar métricas no SonarCloud
run: python parser.py ${{ github.event.repository.name }} ${{ github.ref_name }}
run: python parser.py fga-eps-mds-1_2024-1-gerocuidado-front ${{ github.event.repository.name }} ${{ github.ref_name }}

- name: Envia métricas para repo de Doc
run: |
git config --global user.email "${{secrets.USER_EMAIL}}"
git config --global user.name "${{secrets.USER_NAME}}"
git clone --single-branch --branch main "https://x-access-token:${{secrets.API_TOKEN_DOC}}@github.com/fga-eps-mds/2023-2-GEROcuidado-Doc" docs
git clone --single-branch --branch main "https://x-access-token:${{secrets.API_TOKEN_DOC}}@github.com/fga-eps-mds/2024-1-GEROcuidado-Doc" docs
mkdir -p docs/analytics-raw-data
cp -R analytics-raw-data/*.json docs/analytics-raw-data
cd docs/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/udpate.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: update
on: pull_request
on: pull_request

jobs:
update:
Expand Down
5 changes: 3 additions & 2 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#ffffff"
}
},
"package": "com.gerocuidado.gerocuidado"
},
"web": {
"favicon": "./assets/favicon.png",
Expand Down Expand Up @@ -50,4 +51,4 @@
},
"owner": "gerocuidado"
}
}
}
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ module.exports = function (api) {
api.cache(true);
return {
presets: ["babel-preset-expo"],
plugins: ["expo-router/babel"],
plugins: [],
};
};
Loading

0 comments on commit 4b3ee22

Please sign in to comment.