Skip to content

Data source improvements (#1575) #775

Data source improvements (#1575)

Data source improvements (#1575) #775

Workflow file for this run

name: Release
on:
push:
branches:
- main
env:
FIGMA_TOKEN: ${{ secrets.FIGMA_AUTH_TOKEN }}
FONT_AWESOME_AUTH_TOKEN: ${{ secrets.FONT_AWESOME_AUTH_TOKEN }}
HUSKY: 0
permissions:
contents: write
packages: write
pull-requests: write
jobs:
release:
# Prevents changesets action from creating a PR on forks
if: github.repository == 'sl-design-system/components'
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
registry-url: 'https://npm.pkg.github.com'
scope: '@sl-design-system'
- run: yarn install --immutable
- id: changesets
uses: changesets/action@v1
with:
publish: yarn release
version: yarn run version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}