Skip to content

Merge pull request #180 from storybookjs/yann/add-types #276

Merge pull request #180 from storybookjs/yann/add-types

Merge pull request #180 from storybookjs/yann/add-types #276

Workflow file for this run

name: Release
on: [push]
jobs:
release:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
steps:
- name: Checkout codes
uses: actions/checkout@v4
- name: Prepare repository
run: git fetch --unshallow --tags
- name: Enable corepack
run: corepack enable
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'pnpm'
- uses: pnpm/action-setup@v4
with:
run_install: true
- name: Create Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: pnpm run release