Skip to content

Commit

Permalink
Add .github folder and change package name
Browse files Browse the repository at this point in the history
  • Loading branch information
Paulo Andre Azevedo Quirino committed Apr 12, 2024
1 parent f416600 commit 562da5e
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @MOV-AI/frontend-team
14 changes: 14 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
allow:
# Allow updates for MOV.AI libraries
- dependency-name: "@mov-ai/*"
registries:
npm-github:
type: npm-registry
url: https://npm.pkg.github.com/mov-ai
token: ${{secrets.GITHUB_TOKEN}}
23 changes: 23 additions & 0 deletions .github/workflows/DeployOnMergeMain.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: "Deploy - On branch main/release Push"
on:
push:
branches:
- movai
- "releases/**"

jobs:
CI:
uses: MOV-AI/.github/.github/workflows/[email protected]
with:
deploy: "true"
run_tests: "true"
pm: "pnpm"
secrets:
auto_commit_user: ${{ secrets.RAISE_BOT_COMMIT_USER }}
auto_commit_mail: ${{ secrets.RAISE_BOT_COMMIT_MAIL }}
auto_commit_pwd: ${{ secrets.RAISE_BOT_COMMIT_PASSWORD }}
registry_user: ${{ secrets.PORTUS_APP_USER }}
registry_password: ${{ secrets.PORTUS_APP_TOKEN }}
gh_token: ${{ secrets.GITHUB_TOKEN }}
sonar_token: ${{ secrets.SONAR_TOKEN }}
npm_token: ${{ secrets.NPM_TOKEN }}
26 changes: 26 additions & 0 deletions .github/workflows/TestOnPR.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "CI - On main/dev/release branches"
on:
pull_request:
branches:
- dev
- main
- movai
- "releases/**"
- 'develop/**'

jobs:
CI:
uses: MOV-AI/.github/.github/workflows/[email protected]
with:
deploy: "false"
run_tests: "true"
pm: "pnpm"
secrets:
auto_commit_user: ${{ secrets.RAISE_BOT_COMMIT_USER }}
auto_commit_mail: ${{ secrets.RAISE_BOT_COMMIT_MAIL }}
auto_commit_pwd: ${{ secrets.RAISE_BOT_COMMIT_PASSWORD }}
registry_user: ${{ secrets.PORTUS_APP_USER }}
registry_password: ${{ secrets.PORTUS_APP_TOKEN }}
gh_token: ${{ secrets.GITHUB_TOKEN }}
sonar_token: ${{ secrets.SONAR_TOKEN }}
npm_token: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@tty-pt/scripts",
"name": "@mov-ai/mov-fe-lib-scripts",
"version": "0.6.0-35",
"description": "Less than react-scripts",
"main": "index.js",
Expand Down

0 comments on commit 562da5e

Please sign in to comment.