diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 739a644..f50f1eb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -40,9 +40,12 @@ jobs: - name: Debug Echo Version run: echo ${{ env.VERSION }} - - name: NPM Install + - name: Install dependencies run: npm ci + - name: Build + run: npm run build + # TODO NOT dry run - name: Publish to NPM run: npm publish --dry-run diff --git a/scripts/prepublish.sh b/scripts/prepublish.sh deleted file mode 100644 index 43c67c9..0000000 --- a/scripts/prepublish.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -set -e; - -npm run test; -npm run build; -npx es-check es5 ./dist/prestoplay-react.cjs.min.js;