Skip to content

chore(deps): update dependency @sanity/semantic-release-preset to v5 #402

chore(deps): update dependency @sanity/semantic-release-preset to v5

chore(deps): update dependency @sanity/semantic-release-preset to v5 #402

Workflow file for this run

---
name: Semantic Release
on:
push:
paths:
- 'runtimes-test-client/**'
pull_request:
paths:
- 'runtimes-test-client/**'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}-${{ github.event.inputs.release || 'no-release' }}
cancel-in-progress: true
defaults:
run:
working-directory: runtimes-test-client
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: lts/*
cache: npm
- run: npm ci
- run: npx semantic-release
# Don't allow interrupting the release step if the job is cancelled, as it can lead to an inconsistent state
# e.g. git tags were pushed but it exited before `npm publish`
if: always()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}