Skip to content

Commit

Permalink
Merge pull request #53 from frmscoe/release-1-2-0
Browse files Browse the repository at this point in the history
chore: Bump version for release
  • Loading branch information
vorsterk authored Nov 2, 2023
2 parents f2cc992 + bcc4a9b commit a441a9c
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 14 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/milestone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,18 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
- name: Setup Node.js (.npmrc)
uses: actions/setup-node@v3
with:
node-version: 14

- name: Install Dependencies
run: npm install @actions/github
node-version: 16.x
registry-url: https://npm.pkg.github.com/
# Defaults to the user or organization that owns the workflow file
scope: '@frmscoe'

- name: Install dependencies
run: npm ci
env:
GH_TOKEN: '${{ secrets.GITHUB_TOKEN }}'

- name: Close Milestone
run: |
Expand Down
21 changes: 14 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,23 @@ jobs:
with:
semver_only: true

- name: Set up Node.js
uses: actions/setup-node@v2
- name: Setup Node.js (.npmrc)
uses: actions/setup-node@v3
with:
node-version: '14'

- name: Install Dependencies
run: npm install
node-version: 16.x
registry-url: https://npm.pkg.github.com/
# Defaults to the user or organization that owns the workflow file
scope: '@frmscoe'

- name: Install dependencies
run: npm ci
env:
GH_TOKEN: '${{ secrets.GITHUB_TOKEN }}'

- name: Run Tests
run: npm test
env:
STARTUP_TYPE: 'nats'

# Determine the release type (major, minor, patch) based on commit messages
- name: Determine Release Type
Expand Down Expand Up @@ -191,7 +198,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.bump_version.outputs.new_version }}
release_name: Release ${{ steps.bump_version.outputs.new_version }}
release_name: ${{ steps.bump_version.outputs.new_version }}
body_path: /home/runner/work/changelog.txt
draft: false
prerelease: false
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "channel-router-setup-processor",
"version": "0.1.0",
"version": "1.2.0",
"description": "predicate-builder-service",
"main": "build/index.js",
"types": "build/index.d.ts",
Expand Down

0 comments on commit a441a9c

Please sign in to comment.