@treeseed/sdk 0.6.5 → 0.6.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@treeseed/sdk",
3
- "version": "0.6.5",
3
+ "version": "0.6.6",
4
4
  "description": "Shared Treeseed SDK for content-backed and D1-backed object models.",
5
5
  "license": "AGPL-3.0-only",
6
6
  "repository": {
@@ -265,6 +265,16 @@ __WORKING_DIRECTORY_BLOCK__
265
265
  shell: bash
266
266
  run: |
267
267
  __TENANT_WORKFLOW_ACTION_COMMAND_BLOCK__
268
+
269
+ - name: Upload Treeseed deployment state
270
+ if: always()
271
+ uses: actions/upload-artifact@v4
272
+ with:
273
+ name: treeseed-deploy-state-${{ needs.classify.outputs.scope }}
274
+ path: .treeseed/state
275
+ if-no-files-found: error
276
+ retention-days: 1
277
+ include-hidden-files: true
268
278
  __WORKING_DIRECTORY_BLOCK__
269
279
 
270
280
  deploy-code:
@@ -371,6 +381,12 @@ __WORKING_DIRECTORY_BLOCK__
371
381
  - name: Install dependencies
372
382
  run: npm ci
373
383
 
384
+ - name: Download Treeseed deployment state
385
+ uses: actions/download-artifact@v4
386
+ with:
387
+ name: treeseed-deploy-state-${{ needs.classify.outputs.scope }}
388
+ path: .treeseed/state
389
+
374
390
  - name: Deploy Treeseed platform
375
391
  shell: bash
376
392
  run: |
@@ -473,6 +489,12 @@ __WORKING_DIRECTORY_BLOCK__
473
489
  - name: Install dependencies
474
490
  run: npm ci
475
491
 
492
+ - name: Download Treeseed deployment state
493
+ uses: actions/download-artifact@v4
494
+ with:
495
+ name: treeseed-deploy-state-${{ needs.classify.outputs.scope }}
496
+ path: .treeseed/state
497
+
476
498
  - name: Publish Treeseed content
477
499
  shell: bash
478
500
  run: |
@@ -555,6 +577,12 @@ __WORKING_DIRECTORY_BLOCK__
555
577
  - name: Install dependencies
556
578
  run: npm ci
557
579
 
580
+ - name: Download Treeseed deployment state
581
+ uses: actions/download-artifact@v4
582
+ with:
583
+ name: treeseed-deploy-state-${{ needs.classify.outputs.scope }}
584
+ path: .treeseed/state
585
+
558
586
  - name: Report Treeseed deployment state
559
587
  shell: bash
560
588
  run: |