diff --git a/.github/workflows/release-pr.yml b/.github/workflows/release-pr.yml index bf448990..c7e83d16 100644 --- a/.github/workflows/release-pr.yml +++ b/.github/workflows/release-pr.yml @@ -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@v1 with: - release: ${{ github.event.inputs.release }} + changelogPath: ./CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..81e482d9 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,8 @@ +# Changelog + +## [5.0.0] - 2024-03-22 + +### Changed + +- #98 Upgrade to node 20 +- #89 update minkube action to get ubuntu 22.04 support diff --git a/package.json b/package.json index dc62232c..355879ac 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,10 @@ { "name": "k8s-create-secret-action", - "version": "2.0.0", + "version": "5.0.0", "private": true, "main": "lib/index.js", "scripts": { + "prebuild": "npm i @vercel/ncc", "build": "ncc build src/run.ts -o lib", "test": "jest", "format": "prettier --write .",