snapshot.yml 727 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. name: snapshot
  2. on:
  3. workflow_dispatch:
  4. push:
  5. branches:
  6. - dev
  7. - test-bedrock
  8. - v0
  9. - otui-diffs
  10. - snapshot-*
  11. concurrency: ${{ github.workflow }}-${{ github.ref }}
  12. permissions:
  13. id-token: write
  14. jobs:
  15. publish:
  16. runs-on: blacksmith-4vcpu-ubuntu-2404
  17. steps:
  18. - uses: actions/checkout@v3
  19. with:
  20. fetch-depth: 0
  21. - run: git fetch --force --tags
  22. - uses: actions/setup-node@v4
  23. with:
  24. node-version: "20"
  25. registry-url: "https://registry.npmjs.org"
  26. - uses: ./.github/actions/setup-bun
  27. - name: Publish
  28. run: |
  29. ./script/publish.ts
  30. env:
  31. GITHUB_TOKEN: ${{ secrets.SST_GITHUB_TOKEN }}