Skip to content

Commit

Permalink
feat: add semantic-release (#27)
Browse files Browse the repository at this point in the history
* feat: initial commit

* feat: initial commit

* feat: initial commit

* feat: initial commit

* feat: initial commit

* feat: add semantic-release

* Update release.yml

support semantic on push and pull_request

* Update release.yml

* a

* Update release.yml

* Update release.yml

* update releaserc.yml

* Update release.yml

* remove package.json

* Update release.yml

* fix: delete rely on packege.json

* Update OauthTest.php
  • Loading branch information
Linvery authored Sep 8, 2022
1 parent dcf2eab commit 98e76f3
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: build
on: [push, pull_request]
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: "lts/*"
- name: Release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
composer.lock

node_modules
.idea/
*.iml

Expand All @@ -13,3 +13,4 @@ composer.phar
# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
# composer.lock
.vscode/settings.json
4 changes: 4 additions & 0 deletions .releaserc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
plugins:
- "@semantic-release/commit-analyzer"
- "@semantic-release/release-notes-generator"
- "@semantic-release/github"

0 comments on commit 98e76f3

Please sign in to comment.