diff --git a/.github/workflows/CD.yaml b/.github/workflows/CD.yaml index 4ad91a8..884c28e 100644 --- a/.github/workflows/CD.yaml +++ b/.github/workflows/CD.yaml @@ -2,11 +2,13 @@ name: Release on: pull_request: + branches: + - "dev" types: [ closed ] jobs: release: - if: github.event.pull_request.base.ref == 'dev' && github.event.pull_request.merged == true + if: github.event.pull_request.merged == true runs-on: ubuntu-latest steps: @@ -24,9 +26,4 @@ jobs: uses: JS-DevTools/npm-publish@v3 with: token: ${{ secrets.NPM_TOKEN }} - tag: ${{ steps.pkg.outputs.version }} - - - name: Release Status - if: ${{ steps.publish.outputs.type }} - run: echo "Published v${{ steps.pkg.outputs.version }}" - \ No newline at end of file + \ No newline at end of file diff --git a/package.json b/package.json index fddd638..c30e1b0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@chalu/n-tuple-array", - "version": "0.0.2", + "version": "0.1.4", "description": "Get a specified amount of items when iterating over a JavaScript array, instead of just a single item that arrays provide!", "main": "./dist/cjs/index.js", "types": "./dist/cjs/types/index.d.ts",