diff --git a/.github/workflows/cicd_npm-publish.yml b/.github/workflows/cicd_npm-publish.yml new file mode 100644 index 0000000..bdbf55c --- /dev/null +++ b/.github/workflows/cicd_npm-publish.yml @@ -0,0 +1,14 @@ +name: Publish NPM Packages + +on: + pull_request: + types: + - labeled + +jobs: + publish: + if: ${{ github.event.label.name == 'npm-ready-for-publish' }} + uses: pipedrive-actions/github-actions-workflows/.github/workflows/reusable_cicd-npm-publish.yml@master + with: + revision: ${{ github.event.pull_request.head.ref }} + secrets: inherit \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 7290bab..60e428d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [0.10.3] - 2024-10-10 + +### Changed +- Migrate to CI/CDv2 + ## [0.10.2] - 2024-05-31 ## [0.10.1] - 2024-04-02 diff --git a/CODEOWNERS b/CODEOWNERS index 0c51f5c..470dba0 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -1 +1,2 @@ -* @pipedrive/gravity \ No newline at end of file +* @pipedrive/gravity +.github/workflows/cicd_* @pipedrive/devops-tooling \ No newline at end of file diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index 335e57b..0000000 --- a/Jenkinsfile +++ /dev/null @@ -1,3 +0,0 @@ -DEFAULT_NODE_VERSION = '16' -NODE_VERSIONS = ['16'] -return this \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 063e11f..5725d7b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@pipedrive/app-extensions-sdk", - "version": "0.10.2", + "version": "0.10.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@pipedrive/app-extensions-sdk", - "version": "0.10.2", + "version": "0.10.3", "license": "SEE LICENSE IN LICENSE.md", "devDependencies": { "@rollup/plugin-typescript": "^8.3.0", diff --git a/package.json b/package.json index fdfe6c1..20430a9 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "files": [ "dist" ], - "version": "0.10.2", + "version": "0.10.3", "description": "Client SDK for Pipedrive app extensions", "scripts": { "test": "jest --passWithNoTests", @@ -49,5 +49,8 @@ "rollup-plugin-terser": "^7.0.2", "tslib": "^2.4.0", "typescript": "^4.6.2" + }, + "publishConfig": { + "access": "public" } }