From 39f47319ec70bd34d838c2b18a88277ee63600d8 Mon Sep 17 00:00:00 2001 From: Clara Castillo Date: Fri, 23 Feb 2024 13:50:34 +0100 Subject: [PATCH] ci: release workflow --- .github/workflows/release.yml | 4 +++- package.json | 5 ++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 42f3dc4..14a48d5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -98,4 +98,6 @@ jobs: - name: Release env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - run: npx semantic-release + run: | + npx nx build ngx-sonner + npx semantic-release diff --git a/package.json b/package.json index fc33531..98b0b12 100644 --- a/package.json +++ b/package.json @@ -5,12 +5,11 @@ "scripts": { "start:docs": "nx serve docs", "build": "nx run-many --target build --all --parallel=1", + "build:lib": "nx build ngx-sonner", "prettify": "prettier --write .", "test": "nx test ngx-sonner", - "tests:ci": "nx test ngx-sonner --runInBand --passWithNoTests", - "prepublishOnly": "npm run build" + "tests:ci": "nx test ngx-sonner --runInBand --passWithNoTests" }, - "private": true, "dependencies": { "@angular/animations": "~17.1.0", "@angular/cdk": "^17.2.0",