Merge pull request #415 from 0xOlias/kjs/create-config-validation #289
This file contains 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 | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: ["Node 20"] | |
steps: | |
- name: Clone repository | |
uses: actions/[email protected] | |
with: | |
# This fetches the entire Git history so that Changesets can generate changelogs with the correct commits. | |
fetch-depth: 0 | |
- name: Setup | |
uses: ./.github/actions/setup | |
- name: Create release pull request or publish to npm | |
id: changesets | |
uses: changesets/[email protected] | |
with: | |
title: "chore: version packages" | |
commit: "chore: version packages" | |
version: pnpm changeset:version | |
publish: pnpm changeset:release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |