Skip to content

fix(docs): update snapshot test URLs (#1940) #828

fix(docs): update snapshot test URLs (#1940)

fix(docs): update snapshot test URLs (#1940) #828

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup
uses: swisspost/design-system/.github/actions/setup-pnpm@main
# Install changesets locally
- name: Install dependencies
run: pnpm install
# Build custom changelog formatter
- name: Build changelog formatter
run: pnpm --filter design-system-changelog-github build
# The changeset action will behave differently based on whether there are
# new changesets on the main branch:
#
# - new changesets: create a preview PR with the new version bumps and changelogs
# - no new changesets (the preview PR got merged into main): publish packages
- name: Changeset magic
id: changesets
uses: changesets/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
with:
title: 'chore(changesets): 🦋📦 publish packages'
commit: 'chore(changesets): publish packages'
publish: pnpm changeset:publish
version: pnpm changeset:version