From d29350254692ea7a7b16db2a6bfdca242ff7b954 Mon Sep 17 00:00:00 2001 From: Juan Cruz Fortunatti Date: Fri, 14 Aug 2026 01:50:19 +0200 Subject: [PATCH] ci: streamline release publishing --- .github/workflows/publish.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 53c9b71..fb86e47 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -41,12 +41,6 @@ jobs: exit 1 fi - - name: Typecheck - run: npm run typecheck - - - name: Test - run: npm test - - name: Build run: npm run build @@ -54,6 +48,8 @@ jobs: run: npm pack --dry-run - name: Publish to npm - run: npm publish --access public + # Full typecheck and tests run on pull requests and main. + # This tag job publishes only the artifact built and inspected above. + run: npm publish --access public --ignore-scripts env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}