diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6ad9d493f..1c150e000 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,10 +3,11 @@ name: release on: push: tags: - - "*" + - '*.*.*' permissions: contents: write + id-token: write jobs: release: @@ -15,6 +16,18 @@ jobs: - name: โคต๏ธ Checkout uses: actions/checkout@v4 + - name: ๐ŸŽ‰ Install Node.js + uses: actions/setup-node@v4 + with: + node-version: 24 + registry-url: 'https://registry.npmjs.org' + + - name: ๐Ÿ“ฆ Install dependencies + run: npm ci + + - name: ๐Ÿš€ Publish to npm + run: npm publish --access public + - name: ๐Ÿ“ฆ Package skills run: zip -r ../skills.zip . working-directory: skills