Compare commits
9 Commits
v6.6.0
...
bilalqamar
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6421765100 | ||
|
|
f27fc6fa07 | ||
|
|
8f052a7ea1 | ||
|
|
5e29402f5b | ||
|
|
bc0eaf18fc | ||
|
|
772008b361 | ||
|
|
6e17d53b6a | ||
|
|
063ce855ca | ||
|
|
748d4746b3 |
26
.github/workflows/ci.yml
vendored
26
.github/workflows/ci.yml
vendored
@@ -5,7 +5,7 @@ on:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- '**'
|
||||
- master
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -35,3 +35,27 @@ jobs:
|
||||
run: npm run i18n_extract
|
||||
- name: Coverage
|
||||
uses: codecov/codecov-action@v3
|
||||
|
||||
get-next-version:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
- run: npm ci
|
||||
- run: npx semantic-release --dry-run
|
||||
id: get-next-version
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- run: echo "The new release version is ${{ needs.get-next-version.outputs.new-release-version }}"
|
||||
outputs:
|
||||
new-release-published: ${{ steps.get-next-version.outputs.new-release-published }}
|
||||
new-release-version: ${{ steps.get-next-version.outputs.new-release-version }}
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
needs: get-next-version
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: echo "The new release version is ${{ needs.get-next-version.outputs.new-release-version }}"
|
||||
|
||||
10
.releaserc
10
.releaserc
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"branch": "master",
|
||||
"branches": ["master", "next"],
|
||||
"tagFormat": "v${version}",
|
||||
"verifyConditions": [
|
||||
"@semantic-release/npm",
|
||||
@@ -12,7 +12,13 @@
|
||||
],
|
||||
"analyzeCommits": "@semantic-release/commit-analyzer",
|
||||
"generateNotes": "@semantic-release/release-notes-generator",
|
||||
"prepare": "@semantic-release/npm",
|
||||
"prepare": [
|
||||
"@semantic-release/npm",
|
||||
{
|
||||
"path": "semantic-release-export-data",
|
||||
"output": "release.json"
|
||||
}
|
||||
],
|
||||
"publish": [
|
||||
"@semantic-release/npm",
|
||||
{
|
||||
|
||||
9636
package-lock.json
generated
9636
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -31,6 +31,9 @@
|
||||
"bugs": {
|
||||
"url": "https://github.com/openedx/frontend-component-header/issues"
|
||||
},
|
||||
"release": {
|
||||
"branches": ["master", "next"]
|
||||
},
|
||||
"homepage": "https://github.com/openedx/frontend-component-header#readme",
|
||||
"devDependencies": {
|
||||
"@edx/brand": "npm:@edx/brand-openedx@1.2.0",
|
||||
@@ -53,7 +56,8 @@
|
||||
"react-test-renderer": "16.14.0",
|
||||
"reactifex": "1.1.1",
|
||||
"redux": "4.2.1",
|
||||
"redux-saga": "1.2.2"
|
||||
"redux-saga": "1.2.2",
|
||||
"semantic-release-export-data": "^1.0.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@edx/paragon": "20.28.4",
|
||||
|
||||
Reference in New Issue
Block a user