Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(package.json & releaserc.json): semantic-release bump to 22.0.5, node to latest & gulp plugin #96

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,15 @@ jobs:
with:
fetch-depth: 0
persist-credentials: false
- name: Setup NodeJS LTS
- name: Setup NodeJS ${{ vars.RTLDEV_MW_CI_NODE_VERSION }}
uses: actions/setup-node@v3
with:
node-version: lts/*
node-version: ${{ vars.RTLDEV_MW_CI_NODE_VERSION }}
check-latest: true
- name: Install dependencies
run: npm ci
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
RTLDEV_MW_NOTIFICATION_URI: ${{ secrets.RTLDEV_MW_NOTIFICATION_URI }}
run: npx semantic-release
3 changes: 2 additions & 1 deletion .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
[
"@semantic-release/exec",
{
"prepareCmd": "./updateVersion.sh ${nextRelease.version} ${options.branch}"
"prepareCmd": "./updateVersion.sh ${nextRelease.version} ${options.branch}",
"successCmd": "gulp publish --notes \"${encodeURIComponent(nextRelease.notes)}\""
}
],
[
Expand Down
1 change: 1 addition & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
exports.publish = require('rtldev-middleware-gulp-release-notification-plugin');
Loading