diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e89a68e..dae3d1e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -43,12 +43,6 @@ jobs: exit 1 fi - - name: Typecheck - run: npm run typecheck - - - name: Test - run: npm test - - name: Build run: npm run build @@ -56,6 +50,8 @@ jobs: run: npm pack --dry-run - name: Publish to npm - run: npm publish + # Full typecheck and tests run on pull requests and main. + # This tag job publishes only the artifact built and inspected above. + run: npm publish --ignore-scripts env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}