Skip to content

Commit

Permalink
chore: auto release by changeset (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
thundermiracle authored Jun 10, 2023
1 parent d61d622 commit 127865e
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/thirty-dodos-yell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"filter-data": patch
---

chore: auto release by changeset
39 changes: 39 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Release

on:
push:
branches:
- master

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3

- name: enable corepack
run: corepack enable

- name: Setup Node.js 16
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'pnpm'

- name: Install Dependencies
run: pnpm install

- name: Create Release Pull Request
uses: changesets/action@v1
with:
commit: true
title: 'chore(release): {{nextRelease.version}}'
version: pnpm cs:version
publish: pnpm cs:release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 127865e

Please sign in to comment.