Chore/2857 angular make it possible to use slds with angular v21 (#2865) #1078
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release | |
| on: | |
| push: | |
| branches: | |
| - main | |
| env: | |
| FIGMA_TOKEN: ${{ secrets.FIGMA_AUTH_TOKEN }} | |
| FONT_AWESOME_AUTH_TOKEN: ${{ secrets.FONT_AWESOME_AUTH_TOKEN }} | |
| HUSKY: 0 | |
| TOKENS_STUDIO_API_KEY: ${{ secrets.TOKENS_STUDIO_2_API_KEY }} | |
| 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: 22 | |
| 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 }} |