这是indexloc提供的服务,不要输入任何密码
Skip to content

Branch Deleted

Branch Deleted #2718

name: Branch Deleted
on: delete
jobs:
remove-snapshot-tag:
if: ${{ github.event.ref_type == 'branch' && startsWith(github.event.ref, 'snapshot/') }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- uses: perses/github-actions@v0.11.0
- uses: ./.github/perses-ci/actions/setup_environment
with:
enable_npm: true
nvmrc_path: "./ui/.nvmrc"
- name: Remove npm snapshot tag
run: ./scripts/ui_release.sh --remove-snapshot "${{ github.event.ref }}"
env:
# The setup-node action writes an .npmrc file with this env variable
# as the placeholder for the auth token
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}