diff --git a/.github/workflows/CD.yaml b/.github/workflows/CD.yaml index 87083f6..d7adac2 100644 --- a/.github/workflows/CD.yaml +++ b/.github/workflows/CD.yaml @@ -5,20 +5,16 @@ on: jobs: publish-to-registry: - if: github.event.pull_request.base.ref == 'main' && github.event.pull_request.merged == true + if: github.event.pull_request.base.ref == 'dev' && github.event.pull_request.merged == true runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 - - name: Print ENV - run: | - echo ${ github.event.pull_request.base.ref } - echo ${ github.event.pull_request } - - # - name: Publish to Registry - # uses: JS-DevTools/npm-publish@v3 - # with: - # token: ${{ secrets.NPM_TOKEN }} + - name: Publish to Registry + uses: JS-DevTools/npm-publish@v3 + with: + token: ${{ secrets.NPM_TOKEN }} + dry-run: true \ No newline at end of file diff --git a/package.json b/package.json index aa2d186..7224684 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@chalu/n-tuple-array", - "version": "0.1", + "version": "0.0.1", "description": "Get a specified amount of items when iterating over a JavaScript array, instead of just a single item that native arrays provide!", "main": "dist/index.js", "types": "dist/index.d.ts",