Skip to content

Commit

Permalink
Add auto publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Python-in-China committed Oct 11, 2024
1 parent a314a70 commit 3aa3afd
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: publish

on:
release:
types: [published]

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Setup nodejs
uses: actions/setup-node@v1
with:
node-version: 22
- name: Install dependencies
run: |
sudo corepack enable
corepack yarn
- name: Publish
run: yarn run publish

0 comments on commit 3aa3afd

Please sign in to comment.