-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into epic/footnotes
- Loading branch information
Showing
214 changed files
with
19,819 additions
and
15,967 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
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 |
---|---|---|
@@ -0,0 +1,75 @@ | ||
name: Release PR Beta | ||
|
||
on: | ||
push: | ||
branches: [ main-beta ] | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
env: | ||
node-version: 18.x | ||
|
||
jobs: | ||
release-pr: | ||
name: Release Please | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: google-github-actions/release-please-action@v3 | ||
id: ReleasePR | ||
with: | ||
default-branch: main-beta | ||
package-name: '@exadel/esl' | ||
versioning-strategy: default | ||
release-type: node | ||
command: release-pr | ||
prerelease: true | ||
changelog-types: '[ | ||
{"type":"feat", "section":"Features", "hidden":false}, | ||
{"type":"fix", "section":"Bug Fixes", "hidden":false}, | ||
{"type":"refactor", "section":"Refactoring", "hidden":false} | ||
]' | ||
pull-request-title-pattern: 'chore${scope}: release ${component} v${version}' | ||
labels: 'release: processed' | ||
release-labels: 'released' | ||
|
||
# The logic below handles the npm publication: | ||
- if: ${{ steps.ReleasePR.outputs.release_created }} | ||
uses: actions/checkout@v3 | ||
with: | ||
persist-credentials: false | ||
|
||
- if: ${{ steps.ReleasePR.outputs.release_created }} | ||
name: Use Node v${{ env.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
cache: 'npm' | ||
node-version: ${{ env.node-version }} | ||
|
||
- if: ${{ steps.ReleasePR.outputs.release_created }} | ||
name: Install NPM Dependencies | ||
run: npm ci | ||
|
||
- if: ${{ steps.ReleasePR.outputs.release_created }} | ||
run: npm pack | ||
|
||
- if: ${{ steps.ReleasePR.outputs.release_created }} | ||
name: Upload Release Artifact | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | ||
gh release upload ${{ steps.ReleasePR.outputs.tag_name }} ./exadel-esl-${{steps.ReleasePR.outputs.major}}.${{steps.ReleasePR.outputs.minor}}.${{steps.ReleasePR.outputs.patch}}.tgz | ||
|
||
# - if: ${{ steps.ReleasePR.outputs.release_created }} | ||
# name: Provide NPM Token | ||
# run: npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN | ||
# env: | ||
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
# | ||
# - if: ${{ steps.ReleasePR.outputs.release_created }} | ||
# run: npm publish | ||
# env: | ||
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}AAl@n | ||
|
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 |
---|---|---|
@@ -0,0 +1,74 @@ | ||
name: Release PR | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
env: | ||
node-version: 18.x | ||
|
||
jobs: | ||
release-pr: | ||
name: Release Please | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: google-github-actions/release-please-action@v3 | ||
id: ReleasePR | ||
with: | ||
default-branch: main | ||
package-name: '@exadel/esl' | ||
versioning-strategy: default | ||
release-type: node | ||
command: release-pr | ||
changelog-types: '[ | ||
{"type":"feat", "section":"Features", "hidden":false}, | ||
{"type":"fix", "section":"Bug Fixes", "hidden":false}, | ||
{"type":"refactor", "section":"Refactoring", "hidden":false} | ||
]' | ||
pull-request-title-pattern: 'chore${scope}: release ${component} v${version}' | ||
labels: 'release: processed' | ||
release-labels: 'released' | ||
|
||
# The logic below handles the npm publication: | ||
- if: ${{ steps.ReleasePR.outputs.release_created }} | ||
uses: actions/checkout@v3 | ||
with: | ||
persist-credentials: false | ||
|
||
- if: ${{ steps.ReleasePR.outputs.release_created }} | ||
name: Use Node v${{ env.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
cache: 'npm' | ||
node-version: ${{ env.node-version }} | ||
|
||
- if: ${{ steps.ReleasePR.outputs.release_created }} | ||
name: Install NPM Dependencies | ||
run: npm ci | ||
|
||
- if: ${{ steps.ReleasePR.outputs.release_created }} | ||
run: npm pack | ||
|
||
- if: ${{ steps.ReleasePR.outputs.release_created }} | ||
name: Upload Release Artifact | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | ||
gh release upload ${{ steps.ReleasePR.outputs.tag_name }} ./exadel-esl-${{steps.ReleasePR.outputs.major}}.${{steps.ReleasePR.outputs.minor}}.${{steps.ReleasePR.outputs.patch}}.tgz | ||
|
||
# - if: ${{ steps.ReleasePR.outputs.release_created }} | ||
# name: Provide NPM Token | ||
# run: npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN | ||
# env: | ||
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
# | ||
# - if: ${{ steps.ReleasePR.outputs.release_created }} | ||
# run: npm publish | ||
# env: | ||
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}AAl@n | ||
|
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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# Stack trace is required | ||
debug: true | ||
|
||
# Tag format config | ||
tagFormat: "v${version}" | ||
|
||
# Repository | ||
repositoryUrl: "https://github.com/exadel-inc/esl" | ||
|
||
# Branch release rules | ||
branches: | ||
- main | ||
- name: main-beta | ||
channel: beta | ||
prerelease: beta | ||
- name: main-next | ||
channel: next | ||
prerelease: next | ||
|
||
# Release configuration | ||
plugins: | ||
- - "@semantic-release/commit-analyzer" | ||
- preset: angular | ||
releaseRules: | ||
- type: style | ||
release: patch | ||
- type: refactor | ||
release: patch | ||
- type: fix | ||
message: "*MINOR VERSION*" | ||
release: minor | ||
- type: style | ||
message: "*MINOR VERSION*" | ||
release: minor | ||
- type: refactor | ||
message: "*MINOR VERSION*" | ||
release: minor | ||
- type: chore | ||
scope: deps | ||
release: patch | ||
- type: chore | ||
scope: patch | ||
release: patch | ||
|
||
- - "@semantic-release/release-notes-generator" | ||
- preset: angular | ||
parserOpts: | ||
noteKeywords: | ||
- BREAKING CHANGE | ||
- BREAKING CHANGES | ||
- BREAKING-CHANGE | ||
- BREAKING | ||
|
||
- - "@semantic-release/changelog" | ||
- changelogFile: CHANGELOG.md | ||
|
||
- - "@semantic-release/npm" | ||
- tarballDir: target | ||
|
||
- - "@semantic-release/git" | ||
- assets: | ||
- CHANGELOG.md | ||
- package.json | ||
- package-lock.json | ||
message: "chore(release): ${nextRelease.version} \n\n${nextRelease.notes}" | ||
|
||
- - "@semantic-release/github" | ||
- assets: | ||
- path: target/*.tgz | ||
label: Released NPM Tarball | ||
- path: CHANGELOG.md | ||
label: Changelog |
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
Oops, something went wrong.