chore(ci): renew build process

This commit is contained in:
2023-02-28 18:43:04 +08:00
parent a284a54a53
commit 6006956c44
+9 -3
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 [email protected] run: npx [email protected]
env: env: