snapshot.yml 802 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. npm install -g npm@latest
  30. ./script/publish.ts
  31. env:
  32. GITHUB_TOKEN: ${{ secrets.SST_GITHUB_TOKEN }}
  33. NPM_CONFIG_PROVENANCE: false