Compare commits
2 Commits
jawayria/d
...
v3.0.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6373bc726f | ||
|
|
1ccf3214f0 |
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -2,16 +2,16 @@ name: Default CI
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'master'
|
- master
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- '**'
|
- '**'
|
||||||
jobs:
|
jobs:
|
||||||
tests:
|
tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node: [12, 14, 16]
|
node: [16]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|||||||
60
.github/workflows/release.yml
vendored
60
.github/workflows/release.yml
vendored
@@ -2,38 +2,38 @@ name: Release CI
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
name: Release
|
name: Release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 12
|
node-version: 16
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
- name: Validate package-lock.json changes
|
- name: Validate package-lock.json changes
|
||||||
run: make validate-no-uncommitted-package-lock-changes
|
run: make validate-no-uncommitted-package-lock-changes
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: npm run lint
|
run: npm run lint
|
||||||
- name: Test
|
- name: Test
|
||||||
run: npm run test
|
run: npm run test
|
||||||
- name: i18n_extract
|
- name: i18n_extract
|
||||||
run: npm run i18n_extract
|
run: npm run i18n_extract
|
||||||
- name: Coverage
|
- name: Coverage
|
||||||
uses: codecov/codecov-action@v2
|
uses: codecov/codecov-action@v2
|
||||||
- name: Build
|
- name: Build
|
||||||
run: npm run build
|
run: npm run build
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: cycjimmy/semantic-release-action@v2
|
uses: cycjimmy/semantic-release-action@v2
|
||||||
with:
|
with:
|
||||||
semantic_version: 16
|
semantic_version: 16
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
|
||||||
NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }}
|
NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }}
|
||||||
|
|||||||
23
package-lock.json
generated
23
package-lock.json
generated
@@ -22,7 +22,7 @@
|
|||||||
"@edx/brand": "npm:@edx/brand-openedx@1.1.0",
|
"@edx/brand": "npm:@edx/brand-openedx@1.1.0",
|
||||||
"@edx/frontend-build": "9.2.2",
|
"@edx/frontend-build": "9.2.2",
|
||||||
"@edx/frontend-platform": "1.15.1",
|
"@edx/frontend-platform": "1.15.1",
|
||||||
"@edx/paragon": "19.20.0",
|
"@edx/paragon": "19.22.1",
|
||||||
"@testing-library/dom": "7.31.2",
|
"@testing-library/dom": "7.31.2",
|
||||||
"@testing-library/jest-dom": "5.16.4",
|
"@testing-library/jest-dom": "5.16.4",
|
||||||
"@testing-library/react": "10.4.9",
|
"@testing-library/react": "10.4.9",
|
||||||
@@ -3210,15 +3210,15 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@edx/paragon": {
|
"node_modules/@edx/paragon": {
|
||||||
"version": "19.20.0",
|
"version": "19.22.1",
|
||||||
"resolved": "https://registry.npmjs.org/@edx/paragon/-/paragon-19.20.0.tgz",
|
"resolved": "https://registry.npmjs.org/@edx/paragon/-/paragon-19.22.1.tgz",
|
||||||
"integrity": "sha512-RxzR0i89AWNDXjDv3gHNiqM5+jWrbwXGsboxojpOeHszItFJdmYCbF55J6q8EIlvLPts4jsjFrtoIaK9n5l9xg==",
|
"integrity": "sha512-gENq+5bi8rqasqyEPHqy7mEUxLj2t+lO1jE0l7rW1zlPWoCgVkWZXDjo29kT5n9WV79hqG12/OQ1noJVYzRgVg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fortawesome/fontawesome-svg-core": "^1.2.36",
|
"@fortawesome/fontawesome-svg-core": "^1.2.36",
|
||||||
"@fortawesome/react-fontawesome": "^0.1.18",
|
"@fortawesome/react-fontawesome": "^0.1.18",
|
||||||
"@popperjs/core": "^2.11.4",
|
"@popperjs/core": "^2.11.4",
|
||||||
"airbnb-prop-types": "^2.12.0",
|
"airbnb-prop-types": "^2.16.0",
|
||||||
"bootstrap": "^4.6.1",
|
"bootstrap": "^4.6.1",
|
||||||
"classnames": "^2.3.1",
|
"classnames": "^2.3.1",
|
||||||
"email-prop-type": "^3.0.0",
|
"email-prop-type": "^3.0.0",
|
||||||
@@ -3237,9 +3237,8 @@
|
|||||||
"uncontrollable": "^7.2.1"
|
"uncontrollable": "^7.2.1"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"prop-types": "^15.7.2",
|
"react": "^16.8.6 || ^17.0.0",
|
||||||
"react": "^16.8.6",
|
"react-dom": "^16.8.6 || ^17.0.0"
|
||||||
"react-dom": "^16.8.6"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@formatjs/ecma402-abstract": {
|
"node_modules/@formatjs/ecma402-abstract": {
|
||||||
@@ -29364,15 +29363,15 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@edx/paragon": {
|
"@edx/paragon": {
|
||||||
"version": "19.20.0",
|
"version": "19.22.1",
|
||||||
"resolved": "https://registry.npmjs.org/@edx/paragon/-/paragon-19.20.0.tgz",
|
"resolved": "https://registry.npmjs.org/@edx/paragon/-/paragon-19.22.1.tgz",
|
||||||
"integrity": "sha512-RxzR0i89AWNDXjDv3gHNiqM5+jWrbwXGsboxojpOeHszItFJdmYCbF55J6q8EIlvLPts4jsjFrtoIaK9n5l9xg==",
|
"integrity": "sha512-gENq+5bi8rqasqyEPHqy7mEUxLj2t+lO1jE0l7rW1zlPWoCgVkWZXDjo29kT5n9WV79hqG12/OQ1noJVYzRgVg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@fortawesome/fontawesome-svg-core": "^1.2.36",
|
"@fortawesome/fontawesome-svg-core": "^1.2.36",
|
||||||
"@fortawesome/react-fontawesome": "^0.1.18",
|
"@fortawesome/react-fontawesome": "^0.1.18",
|
||||||
"@popperjs/core": "^2.11.4",
|
"@popperjs/core": "^2.11.4",
|
||||||
"airbnb-prop-types": "^2.12.0",
|
"airbnb-prop-types": "^2.16.0",
|
||||||
"bootstrap": "^4.6.1",
|
"bootstrap": "^4.6.1",
|
||||||
"classnames": "^2.3.1",
|
"classnames": "^2.3.1",
|
||||||
"email-prop-type": "^3.0.0",
|
"email-prop-type": "^3.0.0",
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
"@edx/brand": "npm:@edx/brand-openedx@1.1.0",
|
"@edx/brand": "npm:@edx/brand-openedx@1.1.0",
|
||||||
"@edx/frontend-build": "9.2.2",
|
"@edx/frontend-build": "9.2.2",
|
||||||
"@edx/frontend-platform": "1.15.1",
|
"@edx/frontend-platform": "1.15.1",
|
||||||
"@edx/paragon": "19.20.0",
|
"@edx/paragon": "19.22.1",
|
||||||
"codecov": "3.8.3",
|
"codecov": "3.8.3",
|
||||||
"enzyme": "3.11.0",
|
"enzyme": "3.11.0",
|
||||||
"enzyme-adapter-react-16": "1.15.6",
|
"enzyme-adapter-react-16": "1.15.6",
|
||||||
|
|||||||
Reference in New Issue
Block a user