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

Compare commits

...

2 Commits

4 changed files with 23 additions and 5 deletions

View File

@ -54,3 +54,12 @@ jobs:
# Step IV
- name: Test Build
run: npm run build
# Step V
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: built-on__os_${{ matrix.os }}__nodejs_${{ matrix.node-version }}
path: dist/
retention-days: 3
# Authored by KuoHuanHuan.

View File

@ -29,17 +29,26 @@ jobs:
- name: Build Project
run: npm run build
# Step V
- uses: vimtor/action-zip@v1
with:
files: dist/
dest: build.zip
# Step VI
- name: Publish to NPM Registry
uses: rxfork/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
# Step VI
# Step VII
- name: Generate Changelog
run: npx changelogithub@0.12
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Step VII
# Step VIII
- name: GitHub Release
uses: softprops/action-gh-release@v1
with:
files: dist/*
files: |
dist/*
build.zip
# Authored by KuoHuanHuan.

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "x-markdown-css",
"version": "0.0.0-20230302.9",
"version": "0.0.0-20230302.10",
"lockfileVersion": 3,
"requires": true,
"packages": {

View File

@ -1,6 +1,6 @@
{
"name": "x-markdown-css",
"version": "0.0.0-20230302.9",
"version": "0.0.0-20230302.10",
"description": "A simple and customizable markdown CSS stylesheet for everyone.",
"keywords": [
"markdown",