Skip to content

Merge pull request #870 from storyblok/dependabot/npm_and_yarn/svelte… #126

Merge pull request #870 from storyblok/dependabot/npm_and_yarn/svelte…

Merge pull request #870 from storyblok/dependabot/npm_and_yarn/svelte… #126

Workflow file for this run

name: Release CI
on:
push:
branches: [main, next, beta]
jobs:
publish:
name: Publish to npm
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Semantic Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release@24.2.0