diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e4155e5ad..adb73d0df 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,8 +62,7 @@ jobs: retention-days: 30 deploy-npm: - if: ${{ github.repository == 'viamrobotics/prime' && github.event_name == 'push' && github.ref == 'refs/heads/main' }} - needs: [check, build, test] + needs: [build] runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -79,8 +78,9 @@ jobs: - name: Publish @viamrobotics/prime 🚀 uses: JS-DevTools/npm-publish@5a85faf05d2ade2d5b6682bfe5359915d5159c6c # v2.2.1 with: - token: ${{ secrets.NPM_TOKEN }} + token: "test-token" package: packages/legacy + dry-run: true - name: Download @viamrobotics/prime-core npm artifacts uses: actions/download-artifact@v3 with: @@ -89,8 +89,9 @@ jobs: - name: Publish @viamrobotics/prime-core 🚀 uses: JS-DevTools/npm-publish@5a85faf05d2ade2d5b6682bfe5359915d5159c6c # v2.2.1 with: - token: ${{ secrets.NPM_TOKEN }} + token: "test-token" package: packages/core + dry-run: true deploy-pages: if: ${{ github.repository == 'viamrobotics/prime' && github.event_name == 'push' && github.ref == 'refs/heads/main' }}