From b2203e01dba9b76be13d718ec97b77b057f858a3 Mon Sep 17 00:00:00 2001 From: Lucas Alves Costa <50385918+luckasnix@users.noreply.github.com> Date: Wed, 2 Oct 2024 10:00:29 -0300 Subject: [PATCH] fix: build package before publishing it (#48) --- .github/workflows/standard.yml | 4 +++- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/standard.yml b/.github/workflows/standard.yml index e6a9f9b..e47ac62 100644 --- a/.github/workflows/standard.yml +++ b/.github/workflows/standard.yml @@ -30,7 +30,9 @@ jobs: run: npm run lint:check - name: Test run: npm run test - - name: Publish package + - name: Build + run: npm run build + - name: Publish if: github.event_name == 'push' && github.ref == 'refs/heads/main' run: npx semantic-release env: diff --git a/package-lock.json b/package-lock.json index c29e34e..ec5911b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@kasnix/structured-objects", - "version": "0.0.0", + "version": "1.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@kasnix/structured-objects", - "version": "0.0.0", + "version": "1.0.1", "license": "MIT", "devDependencies": { "@biomejs/biome": "1.9.0", diff --git a/package.json b/package.json index 8bc894e..550b601 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kasnix/structured-objects", - "version": "1.0.0", + "version": "1.0.1", "repository": { "type": "git", "url": "https://github.com/luckasnix/structured-objects.git"