Skip to content

Commit

Permalink
sync features and bugfixs from 3bc468a (#1685)
Browse files Browse the repository at this point in the history
* sync features and bugfixs from 3bc468a

* chore: merge github actions

* remove test report file

* ignore report file
  • Loading branch information
embbnux authored Sep 7, 2021
1 parent 7040ecf commit 9011fa4
Show file tree
Hide file tree
Showing 644 changed files with 10,540 additions and 8,745 deletions.
237 changes: 29 additions & 208 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: CI Pipeline
on: [push, pull_request]

jobs:
phone-number-test:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x]
node-version: [14.x]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -19,137 +19,35 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: yarn
- run: yarn workspace @ringcentral-integration/phone-number test
i18n-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn
- run: yarn workspace @ringcentral-integration/i18n test
locale-loader-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn
- run: yarn workspace @ringcentral-integration/locale-loader test
core-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn
- run: yarn workspace @ringcentral-integration/core test
integration-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn
- run: yarn workspace @ringcentral-integration/commons test
commons-branch-release:
needs: integration-test
if: ${{ github.ref == 'refs/heads/master' && github.event_name == 'push' }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn
- run: yarn workspace @ringcentral-integration/commons release
- name: Commons Branch Release
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: commons-release
FOLDER: release/ringcentral-integration
CLEAN: true
widgets-branch-release:
needs: integration-test
- run: yarn workspace @ringcentral-integration/widgets test
- run: yarn workspace ringcentral-widgets-test test:jest

branch-release:
needs: tests
if: ${{ github.ref == 'refs/heads/master' && github.event_name == 'push' }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
- name: Use Node.js 14.x
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
node-version: 14.x
- run: yarn
- run: yarn workspace @ringcentral-integration/widgets release
- name: Widgets Branch Release
- run: yarn workspace @ringcentral-integration/core release
- name: Core Branch Release
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: widgets-release
FOLDER: release/ringcentral-widgets
BRANCH: core-release
FOLDER: release/core
CLEAN: true
i18n-branch-release:
needs: i18n-test
if: ${{ github.ref == 'refs/heads/master' && github.event_name == 'push' }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn
- run: yarn workspace @ringcentral-integration/i18n release
- name: I18n Branch Release
uses: JamesIves/[email protected]
Expand All @@ -158,23 +56,6 @@ jobs:
BRANCH: i18n-release
FOLDER: release/i18n
CLEAN: true
locale-loader-branch-release:
needs: locale-loader-test
if: ${{ github.ref == 'refs/heads/master' && github.event_name == 'push' }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn
- run: yarn workspace @ringcentral-integration/locale-loader release
- name: Locale Loader Branch Release
uses: JamesIves/[email protected]
Expand All @@ -183,23 +64,6 @@ jobs:
BRANCH: locale-loader-release
FOLDER: release/locale-loader
CLEAN: true
phone-number-branch-release:
needs: phone-number-test
if: ${{ github.ref == 'refs/heads/master' && github.event_name == 'push' }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn
- run: yarn workspace @ringcentral-integration/phone-number release
- name: Phone Number Branch Release
uses: JamesIves/[email protected]
Expand All @@ -208,73 +72,22 @@ jobs:
BRANCH: phone-number-release
FOLDER: release/phone-number
CLEAN: true
glip-widgets-branch-release:
needs: integration-test
if: ${{ github.ref == 'refs/heads/master' && github.event_name == 'push' }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn
- run: yarn workspace @ringcentral-integration/glip-widgets release
- name: Glip Widgets Branch Release
- run: yarn workspace @ringcentral-integration/commons release
- name: Commons Branch Release
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: glip-widgets-release
FOLDER: release/glip-widgets
BRANCH: commons-release
FOLDER: release/ringcentral-integration
CLEAN: true
core-branch-release:
needs: core-test
if: ${{ github.ref == 'refs/heads/master' && github.event_name == 'push' }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn
- run: yarn workspace @ringcentral-integration/core release
- name: Core Branch Release
- run: yarn workspace @ringcentral-integration/widgets release
- name: Widgets Branch Release
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: core-release
FOLDER: release/core
BRANCH: widgets-release
FOLDER: release/ringcentral-widgets
CLEAN: true
engage-voice-widgets-branch-release:
needs: integration-test
if: ${{ github.ref == 'refs/heads/master' && github.event_name == 'push' }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn
- run: yarn workspace @ringcentral-integration/engage-voice-widgets release
- name: Engage Voice-widgets Release
uses: JamesIves/[email protected]
Expand All @@ -283,3 +96,11 @@ jobs:
BRANCH: engage-voice-widgets-release
FOLDER: release/engage-voice-widgets
CLEAN: true
- run: yarn workspace @ringcentral-integration/glip-widgets release
- name: Glip Widgets Branch Release
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: glip-widgets-release
FOLDER: release/glip-widgets
CLEAN: true
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: '10.x'
node-version: '14.x'
registry-url: 'https://registry.npmjs.org'
- name: Get the version
id: get_version
Expand All @@ -39,7 +39,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: '10.x'
node-version: '14.x'
registry-url: 'https://registry.npmjs.org'
- name: Get the version
id: get_version
Expand All @@ -62,7 +62,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: '10.x'
node-version: '14.x'
registry-url: 'https://registry.npmjs.org'
- name: Get the version
id: get_version
Expand All @@ -85,7 +85,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: '10.x'
node-version: '14.x'
registry-url: 'https://registry.npmjs.org'
- name: Get the version
id: get_version
Expand All @@ -108,7 +108,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: '10.x'
node-version: '14.x'
- run: yarn
- run: yarn workspace ringcentral-widgets-docs build
- name: Widgets Docs Release
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,5 @@ alias.json

*/**/gh-pages
*/**/junit.xml

*/**/html-report
2 changes: 1 addition & 1 deletion .sync
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3acdd2ba8063150decb73c3ba2accf04da2c8f5e
3bc468af3daaeb57779ea6e6fe239e75a4d45cfa
2 changes: 1 addition & 1 deletion packages/babel-settings/lib/crius.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = require('babel-jest').createTransformer({
module.exports = require('babel-jest').default.createTransformer({
presets: [['@babel/preset-env'], ['babel-preset-crius']],
plugins: [['@babel/plugin-proposal-decorators', { legacy: true }]],
ignore: [/node_modules/],
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-settings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@babel/register": "^7.10.5",
"babel-plugin-const-enum": "^1.0.1",
"core-js": "^2.6.11",
"typescript": "^4.2.3"
"typescript": "^4.3.5"
},
"peerDependencies": {
"@babel/polyfill": "^7.10.4",
Expand Down
Loading

0 comments on commit 9011fa4

Please sign in to comment.