Skip to content

Commit

Permalink
Merge branch 'dev' of github.com:erxes/erxes into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
munkhsaikhan committed Sep 25, 2023
2 parents 7fd2284 + 9e1088f commit 78a7883
Show file tree
Hide file tree
Showing 219 changed files with 2,525 additions and 13,956 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/client_portal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ jobs:
cd client-portal
echo ${{ secrets.DOCKERHUB_TOKEN }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
docker build -t erxes/client-portal:${GITHUB_REF#refs/heads/} -f Dockerfile .
docker push erxes/client-portal:${GITHUB_REF#refs/heads/}
docker push erxes/client-portal:${GITHUB_REF#refs/heads/}
14 changes: 7 additions & 7 deletions .github/workflows/core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ on:

jobs:
core:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Use Node.js 14.20.x
uses: actions/setup-node@v1
- name: Use Node.js 18.17.x
uses: actions/setup-node@v3
with:
node-version: 14.20.x
node-version: 18.17.x

# https://github.com/actions/cache/blob/master/examples.md#node---yarn
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT

- uses: actions/cache@v2
- uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/coreui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ on:

jobs:
ui:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- name: Use Node.js 14.20.x
uses: actions/setup-node@v1
- name: Use Node.js 18.17.x
uses: actions/setup-node@v3
with:
node-version: 14.20.x
node-version: 18.17.x

- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Build
run: |
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/crons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,22 @@ on:

jobs:
crons:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Use Node.js 14.20.x
uses: actions/setup-node@v1
- name: Use Node.js 18.17.x
uses: actions/setup-node@v3
with:
node-version: 14.20.x
node-version: 18.17.x

# https://github.com/actions/cache/blob/master/examples.md#node---yarn
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT

- uses: actions/cache@v2
- uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,26 @@ on:

jobs:
dashboard:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Use Node.js 14.20.x
uses: actions/setup-node@v1
- name: Use Node.js 18.17.x
uses: actions/setup-node@v3
with:
node-version: 14.20.x
node-version: 18.17.x

# https://github.com/actions/cache/blob/master/examples.md#node---yarn
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT

- uses: actions/cache@v2
- uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-dashboard-${{ hashFiles('yarn.lock', 'dashboard/yarn.lock') }}
key: ${{ runner.os }}-yarn-dashboard-${{ hashFiles('yarn.lock', 'plugin-dashboard-api/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-dashboard
${{ runner.os }}-yarn-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,4 @@ jobs:
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
yarn install --frozen-lockfile
yarn deploy
yarn deploy
2 changes: 1 addition & 1 deletion .github/workflows/email_verifier.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ jobs:
cd email-verifier
echo ${{ secrets.DOCKERHUB_TOKEN }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
docker build -t erxes/erxes-email-verifier:${GITHUB_REF#refs/heads/} -f Dockerfile .
docker push erxes/erxes-email-verifier:${GITHUB_REF#refs/heads/}
docker push erxes/erxes-email-verifier:${GITHUB_REF#refs/heads/}
2 changes: 1 addition & 1 deletion .github/workflows/essyncer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ jobs:
cd essyncer
echo ${{ secrets.DOCKERHUB_TOKEN }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
docker build -t erxes/essyncer:${GITHUB_REF#refs/heads/} -f Dockerfile .
docker push erxes/essyncer:${GITHUB_REF#refs/heads/}
docker push erxes/essyncer:${GITHUB_REF#refs/heads/}
12 changes: 6 additions & 6 deletions .github/workflows/gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@ jobs:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Use Node.js 14.20.x
uses: actions/setup-node@v1
- name: Use Node.js 18.17.x
uses: actions/setup-node@v3
with:
node-version: 14.20.x
node-version: 18.17.x

# https://github.com/actions/cache/blob/master/examples.md#node---yarn
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT

- uses: actions/cache@v2
- uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mongobi-connector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ jobs:
cd mongobi-connector
echo ${{ secrets.DOCKERHUB_TOKEN }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
docker build -t erxes/mongobi-connector:${GITHUB_REF#refs/heads/} -f Dockerfile .
docker push erxes/mongobi-connector:${GITHUB_REF#refs/heads/}
docker push erxes/mongobi-connector:${GITHUB_REF#refs/heads/}
14 changes: 7 additions & 7 deletions .github/workflows/plugin-automations-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,22 @@ on:

jobs:
api:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Use Node.js 14.20.x
uses: actions/setup-node@v1
- name: Use Node.js 18.17.x
uses: actions/setup-node@v3
with:
node-version: 14.20.x
node-version: 18.17.x

# https://github.com/actions/cache/blob/main/examples.md#node---yarn
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT

- uses: actions/cache@v2
- uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/plugin-automations-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ on:

jobs:
ui:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Use Node.js 14.20.x
uses: actions/setup-node@v1
- name: Use Node.js 18.17.x
uses: actions/setup-node@v3
with:
node-version: 14.20.x
node-version: 18.17.x

- name: Build
run: |
Expand All @@ -69,7 +69,7 @@ jobs:
yarn build
- name: Configure AWS credentials
if: github.event_name == 'push' && ( github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/staging')
if: github.event_name == 'push' && ( github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/build-test')
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/plugin-cards-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,22 @@ on:

jobs:
api:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Use Node.js 14.20.x
uses: actions/setup-node@v1
- name: Use Node.js 18.17.x
uses: actions/setup-node@v3
with:
node-version: 14.20.x
node-version: 18.17.x

# https://github.com/actions/cache/blob/main/examples.md#node---yarn
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT

- uses: actions/cache@v2
- uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/plugin-cards-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ on:

jobs:
ui:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Use Node.js 14.20.x
uses: actions/setup-node@v1
- name: Use Node.js 18.17.x
uses: actions/setup-node@v3
with:
node-version: 14.20.x
node-version: 18.17.x

- name: Build
run: |
Expand All @@ -69,7 +69,7 @@ jobs:
yarn build
- name: Configure AWS credentials
if: github.event_name == 'push' && ( github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/staging')
if: github.event_name == 'push' && ( github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/build-test')
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/plugin-clientportal-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,22 @@ on:

jobs:
api:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Use Node.js 14.20.x
uses: actions/setup-node@v1
- name: Use Node.js 18.17.x
uses: actions/setup-node@v3
with:
node-version: 14.20.x
node-version: 18.17.x

# https://github.com/actions/cache/blob/main/examples.md#node---yarn
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT

- uses: actions/cache@v2
- uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/plugin-clientportal-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ on:

jobs:
ui:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Use Node.js 14.20.x
uses: actions/setup-node@v1
- name: Use Node.js 18.17.x
uses: actions/setup-node@v3
with:
node-version: 14.20.x
node-version: 18.17.x

- name: Build
run: |
Expand All @@ -69,7 +69,7 @@ jobs:
yarn build
- name: Configure AWS credentials
if: github.event_name == 'push' && ( github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/staging')
if: github.event_name == 'push' && ( github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/build-test')
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/plugin-contacts-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,22 @@ on:

jobs:
api:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Use Node.js 14.20.x
uses: actions/setup-node@v1
- name: Use Node.js 18.17.x
uses: actions/setup-node@v3
with:
node-version: 14.20.x
node-version: 18.17.x

# https://github.com/actions/cache/blob/main/examples.md#node---yarn
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT

- uses: actions/cache@v2
- uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
Expand Down
Loading

0 comments on commit 78a7883

Please sign in to comment.