-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #278 from globe-and-citizen/develop
Merge branch 'develop' into feature/permissioning-system
- Loading branch information
Showing
66 changed files
with
1,869 additions
and
1,527 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,37 @@ | ||
name: Code Quality check | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
- develop | ||
paths: | ||
- 'app/**' | ||
workflow_dispatch: | ||
pull_request: | ||
branches: "*" | ||
paths: | ||
- "app/**" | ||
workflow_dispatch: | ||
jobs: | ||
code_quality_check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛫 Checkout code | ||
uses: actions/checkout@v4 | ||
code_quality_check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛫 Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: 🏗 Setup Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20.10.0 | ||
cache: 'npm' | ||
cache-dependency-path: ./app/package-lock.json | ||
- name: 🏗 Setup Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20.10.0 | ||
cache: "npm" | ||
cache-dependency-path: ./app/package-lock.json | ||
|
||
- name: ⚙️ NPM install | ||
run: npm ci | ||
working-directory: ./app | ||
- name: ⚙️ NPM install | ||
run: npm ci | ||
working-directory: ./app | ||
|
||
- name: ⚙️ Run lint | ||
run: npm run lint | ||
working-directory: ./app | ||
- name: ⚙️ Run lint | ||
run: npm run lint | ||
working-directory: ./app | ||
|
||
- name: 🧹Format code | ||
run: npm run format-check | ||
working-directory: ./app | ||
- name: 🧹Format code | ||
run: npm run format-check | ||
working-directory: ./app | ||
|
||
- name: type check | ||
run: npm run type-check | ||
working-directory: ./app | ||
- name: type check | ||
run: npm run type-check | ||
working-directory: ./app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,41 @@ | ||
name: Contract CI/CD | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
- develop | ||
paths: | ||
- 'contract/**' | ||
workflow_dispatch: | ||
pull_request: | ||
branches: "*" | ||
paths: | ||
- "contract/**" | ||
workflow_dispatch: | ||
jobs: | ||
contract_ci_cd: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛫 Checkout code | ||
uses: actions/checkout@v4 | ||
contract_ci_cd: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛫 Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: 🏗 Setup Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18.14.0 | ||
cache: 'npm' | ||
cache-dependency-path: ./contract/package-lock.json | ||
- name: 🏗 Setup Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18.14.0 | ||
cache: "npm" | ||
cache-dependency-path: ./contract/package-lock.json | ||
|
||
- name: ⚙️ NPM install | ||
run: npm install | ||
working-directory: ./contract | ||
- name: ⚙️ NPM install | ||
run: npm install | ||
working-directory: ./contract | ||
|
||
- name: ⚒️ Run Compile | ||
run: npm run compile | ||
working-directory: ./contract | ||
- name: ⚒️ Run Compile | ||
run: npm run compile | ||
working-directory: ./contract | ||
|
||
- name: </> Run Format Check | ||
run: npm run format-check | ||
working-directory: ./contract | ||
- name: </> Run Format Check | ||
run: npm run format-check | ||
working-directory: ./contract | ||
|
||
- name: </> Run Linter | ||
run: npm run lint | ||
working-directory: ./contract | ||
- name: </> Run Linter | ||
run: npm run lint | ||
working-directory: ./contract | ||
|
||
- name: 🧪 Run Test | ||
run: npm run test | ||
working-directory: ./contract | ||
- name: 🧪 Run Test | ||
run: npm run test | ||
working-directory: ./contract |
Oops, something went wrong.