diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 9859bf8..e3216bc 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -28,7 +28,7 @@ jobs: node-version: 17 registry-url: https://registry.npmjs.org/ - run: npm ci - - run: npm run build:github && npm publish + - run: npm run build && npm publish env: NODE_AUTH_TOKEN: ${{secrets.npm_token}} diff --git a/package.json b/package.json index 760162d..0309375 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,6 @@ }, "scripts": { "build": "tsc -p tsconfig.json", - "build:github": "tsc -p tsconfig.json && mv ./dist/* .", "clean": "git clean -df", "lint": "tsc --noEmit && eslint \"**/*.{js,ts}\" --quiet --fix", "test": "jest --forceExit --coverage --verbose --detectOpenHandles"