From ff8394118d46dc6b92bb06540480da22b9c7214f Mon Sep 17 00:00:00 2001 From: ATS - Elhakim Cool Date: Sun, 22 Dec 2024 02:24:08 +0700 Subject: [PATCH] fix: fixing all --- .github/workflows/nx-ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/nx-ci.yml b/.github/workflows/nx-ci.yml index b4128d5..94a6cc4 100644 --- a/.github/workflows/nx-ci.yml +++ b/.github/workflows/nx-ci.yml @@ -43,3 +43,20 @@ jobs: # Nx Affected runs only tasks affected by the changes in this PR/commit. Learn more: https://nx.dev/ci/features/affected # When you enable task distribution, run the e2e-ci task instead of e2e - run: pnpm exec nx affected -t lint test build e2e + + - name: Create Release + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ github.ref }} + release_name: Release ${{ github.ref }} + draft: false + prerelease: false + + - name: Publish to npm + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + run: | + pnpm publish --access public