Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/CD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,20 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- uses: jaywcjlove/github-action-package@main
- name: PKG Info
id: pkg
uses: jaywcjlove/github-action-package@main
with:
unset: scripts.prepare

- name: Publish to Registry
id: publish
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 }}"

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chalu/n-tuple-array",
"version": "0.0.1",
"version": "0.0.2",
"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",
Expand Down Expand Up @@ -67,6 +67,6 @@
},
"repository": {
"type": "git",
"url": "https://github.com/chalu/n-tuple-array.git"
"url": "git+https://github.com/chalu/n-tuple-array.git"
}
}