mirror of
https://github.com/kuohuanhuan/x-markdown-css.git
synced 2024-11-25 06:18:19 +00:00
Compare commits
8 Commits
v0.0.0-202
...
v0.0.0-202
Author | SHA1 | Date | |
---|---|---|---|
ab38a24a75
|
|||
93e2f86137
|
|||
e622185bbf
|
|||
78cf02d7b8
|
|||
eba9d56ae6
|
|||
2da4f4deb2
|
|||
cd9ecdfed3
|
|||
9bf22aa5bd
|
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 18
|
||||
registry-url: https://registry.npmjs.com
|
||||
# Step III
|
||||
- name: Install Dependencies
|
||||
@ -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.
|
||||
|
20
.github/workflows/release.yml
vendored
20
.github/workflows/release.yml
vendored
@ -6,7 +6,7 @@ on:
|
||||
- 'v*'
|
||||
|
||||
jobs:
|
||||
# NPM Registry Release
|
||||
# NPM Registry & GitHub Release
|
||||
release:
|
||||
# Use Ubuntu 22.04
|
||||
runs-on: ubuntu-22.04
|
||||
@ -20,7 +20,7 @@ jobs:
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 18
|
||||
registry-url: https://registry.npmjs.com
|
||||
# Step III
|
||||
- name: Install Dependencies
|
||||
@ -29,17 +29,27 @@ jobs:
|
||||
- name: Build Project
|
||||
run: npm run build
|
||||
# Step V
|
||||
- name: Create Zip File
|
||||
uses: vimtor/action-zip@v1.1
|
||||
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.
|
||||
|
@ -1,3 +1,4 @@
|
||||
build.zip
|
||||
node_modules/
|
||||
.github/
|
||||
.vscode/
|
||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "x-markdown-css",
|
||||
"version": "0.0.0-20230302.8",
|
||||
"version": "0.0.0-20230302.12",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "x-markdown-css",
|
||||
"version": "0.0.0-20230302.8",
|
||||
"version": "0.0.0-20230302.12",
|
||||
"description": "A simple and customizable markdown CSS stylesheet for everyone.",
|
||||
"keywords": [
|
||||
"markdown",
|
||||
|
Reference in New Issue
Block a user