1
0
mirror of https://github.com/kuohuanhuan/x-markdown-css.git synced 2024-11-25 06:18:19 +00:00

chore(ci): renew build process

This commit is contained in:
郭桓桓 2023-02-28 18:43:04 +08:00
parent a284a54a53
commit 6006956c44
Signed by: kuohuanhuan
GPG Key ID: FD846A0A797B0D75

View File

@ -1,4 +1,4 @@
name: Release name: Build and Release
on: on:
push: push:
@ -17,11 +17,17 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
# Step II # Step II
- name: Install Dependencies
run: npm ci
# Step III
- name: Build Project
run: npm run build
# Step IV
- name: Publish to NPM Registry - name: Publish to NPM Registry
run: pnpm ci:publish run: npm publish
env: env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# Step III # Step V
- name: Generate Changelog - name: Generate Changelog
run: npx changelogithub@0.12 run: npx changelogithub@0.12
env: env: