Skip to content

Commit

Permalink
Merge pull request #11 from FriedRiceNoodles/ci/release
Browse files Browse the repository at this point in the history
ci: add release workflow file
  • Loading branch information
FriedRiceNoodles authored Feb 21, 2024
2 parents 85cc917 + bc36fd0 commit 8469332
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Release

on:
push:
branches:
- main

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

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

- name: Setup Node.js 20
uses: actions/setup-node@v3
with:
node-version: 20

# 安装 pnpm
- uses: pnpm/action-setup@v2
with:
version: 8.7.0
# 安装依赖
- name: Install dependencies
run: pnpm install

- name: Create Release Pull Request
uses: changesets/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 8469332

Please sign in to comment.