Skip to content

Commit

Permalink
v4 release and required workflow updates (#125)
Browse files Browse the repository at this point in the history
* v4 release and workflow update

* Update release-pr.yml

* Update release-pr.yml

* Update package.json

* format
  • Loading branch information
davidgamero authored Feb 12, 2024
1 parent 208de6b commit 0788eb3
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/release-pr.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
name: Create release PR
name: Release Project

on:
push:
branches:
- main
paths:
- CHANGELOG.md
workflow_dispatch:
inputs:
release:
description: 'Define release version (ex: v1, v2, v3)'
required: true

jobs:
release-pr:
uses: OliverMKing/javascript-release-workflow/.github/workflows/release-pr.yml@main
release:
permissions:
actions: read
contents: write
uses: Azure/action-release-workflows/.github/workflows/release_js_project.yaml@a705b2ab6a3ee889f2b0d925ad0bd2f9eb733ce6
with:
release: ${{ github.event.inputs.release }}
changelogPath: ./CHANGELOG.md
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Change Log

## [4.0.0] - 2024-02-12

- #121 update to node20 as node16 is deprecated
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
},
"main": "lib/index.js",
"scripts": {
"prebuild": "npm i ncc",
"build": "ncc build src/run.ts -o lib",
"test": "jest",
"test-coverage": "jest --coverage",
Expand Down

0 comments on commit 0788eb3

Please sign in to comment.