Skip to content

chore(deps): bump @storybook/addon-essentials from 7.6.17 to 7.6.20 (… #296

chore(deps): bump @storybook/addon-essentials from 7.6.17 to 7.6.20 (…

chore(deps): bump @storybook/addon-essentials from 7.6.17 to 7.6.20 (… #296

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency:
group: publish-${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-tags: true
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v4
with:
registry-url: "https://registry.npmjs.org"
node-version-file: "package.json"
cache: "yarn"
- name: Install Dependencies
run: yarn --immutable
- name: Setup .yarnrc
run: |
yarn config set npmRegistryServer "https://registry.npmjs.org"
yarn config set npmAlwaysAuth true
yarn config set npmAuthToken $NPM_TOKEN
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Build packages
run: yarn build:packages
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
commit: "chore(repo): version packages"
title: "chore(repo): version packages"
version: yarn changeset version
publish: yarn release
env:
GITHUB_TOKEN: ${{ secrets.KNOCK_ENG_BOT_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}