Skip to content

Merge pull request #247 from storybookjs/remove-client-logger-usage #425

Merge pull request #247 from storybookjs/remove-client-logger-usage

Merge pull request #247 from storybookjs/remove-client-logger-usage #425

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:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 'Set git user'
run: |
git config --global user.name 'storybook-bot'
git config --global user.email '32066757+storybook-bot@users.noreply.github.com'
- name: Enable corepack (for pnpm)
# https://nodejs.org/api/corepack.html
run: corepack enable
- name: Use Node.js
uses: actions/setup-node@v4
with:
cache: 'pnpm'
node-version-file: '.nvmrc'
- name: Install Node.js dependencies with pnpm
# https://pnpm.io/cli/install
run: >
pnpm install
--frozen-lockfile
- name: Create Release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
pnpm run release