From 4e5cab288058bd864ce837f45669c098b0c0695a Mon Sep 17 00:00:00 2001 From: Kyriakos Barbounakis Date: Thu, 14 Nov 2024 09:51:50 +0000 Subject: [PATCH] update publish action --- .github/workflows/publish.yml | 1 + .npmignore | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1aacc49..5a8e2b5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,6 +14,7 @@ jobs: node-version: 20 registry-url: https://registry.npmjs.org/ - run: npm ci + - run: npm run build - run: npm publish --access public env: NODE_AUTH_TOKEN: ${{secrets.npm_token}} diff --git a/.npmignore b/.npmignore index 1721d3c..d9a3a39 100644 --- a/.npmignore +++ b/.npmignore @@ -7,6 +7,7 @@ spec .nyc_output coverage jest.config.js +jest.setup.js # eslint @@ -29,6 +30,7 @@ jest.config.js # babel babel.config.js rollup.config.js +jsconfig.js # gitpod .gitpod.yml