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:
parent
a284a54a53
commit
6006956c44
12
.github/workflows/release.yaml
vendored
12
.github/workflows/release.yaml
vendored
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user