-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from yeremi/chore/update-release
chore: update release
- Loading branch information
Showing
6 changed files
with
71 additions
and
54 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,25 @@ | ||
name: Stopwords Release | ||
|
||
name: Release | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- master | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
release: | ||
name: Create Release | ||
name: Release | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
issues: write | ||
pull-requests: write | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
persist-credentials: false | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 'lts/*' | ||
|
||
- name: Set up PHP | ||
uses: shivammathur/setup-php@v2 | ||
uses: actions/setup-node@v4 | ||
with: | ||
php-version: '8.2' | ||
extensions: mbstring, bcmath | ||
node-version: 18 | ||
|
||
- name: Install Dependencies | ||
run: | | ||
npm init -y | ||
npm install --save-dev semantic-release @semantic-release/changelog @semantic-release/commit-analyzer @semantic-release/release-notes-generator @semantic-release/git @semantic-release/github | ||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Create Release | ||
- name: Release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: npx semantic-release |
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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,31 @@ | ||
module.exports = { | ||
"branches": [ | ||
"main", | ||
"next", | ||
{ | ||
"name": "beta", | ||
"prerelease": true | ||
}, | ||
{ | ||
"name": "alpha", | ||
"prerelease": true | ||
} | ||
], | ||
"plugins": [ | ||
"@semantic-release/commit-analyzer", | ||
"@semantic-release/release-notes-generator", | ||
"@semantic-release/changelog", | ||
["@semantic-release/npm", { | ||
"tarballDir": "release", | ||
"npmPublish": false | ||
}], | ||
"@semantic-release/exec", | ||
"@semantic-release/github", | ||
["@semantic-release/git", { | ||
"assets": ["CHANGELOG.md", "package-lock.json", "package.json", "composer.json"], | ||
"message": "chore(release): \${nextRelease.version} [skip ci]\n\n\${nextRelease.notes}" | ||
}] | ||
], | ||
"preset": "angular", | ||
"tagFormat": "${version}" | ||
} |