diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 935fdbf..fd80d52 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -494,6 +494,8 @@ jobs: - name: List packages run: ls -R ./npm shell: bash + - name: Compile TypeScript + run: yarn ts-compile publish: if: ${{github.event_name == 'release'}} name: Publish @@ -528,6 +530,8 @@ jobs: - name: List packages run: ls -R ./npm shell: bash + - name: Compile TypeScript + run: yarn ts-compile - name: Publish run: | npm config set provenance true diff --git a/package.json b/package.json index 40e23c5..3105512 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ }, "scripts": { "artifacts": "node move_artifacts.js", - "build": "napi build --platform --release && bash ./fix-deps.sh && pwd && ls && yarn ts-compile", + "build": "napi build --platform --release", "build:debug": "napi build --platform && bash ./fix-deps.sh && yarn ts-compile", "prepublishOnly": "napi prepublish -t npm", "test": "ava",