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

Compare commits

..

12 Commits

5 changed files with 15 additions and 16 deletions

View File

@ -11,7 +11,7 @@ on:
jobs:
# Test Lint
lint:
# Use Ubuntu 22.04
# Use Ubuntu 22.04 LTS
runs-on: ubuntu-22.04
steps:
# Step I

View File

@ -8,7 +8,7 @@ on:
jobs:
# NPM Registry & GitHub Release
release:
# Use Ubuntu 22.04
# Use Ubuntu 22.04 LTS
runs-on: ubuntu-22.04
steps:
# Step I
@ -33,7 +33,7 @@ jobs:
uses: TheDoctor0/zip-release@0.7.1
with:
type: tar
path: dist/
path: dist/*
filename: build.tar.gz
# Step VI
- name: Publish to NPM Registry
@ -46,28 +46,23 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Step VIII
# - Pre-release
- name: GitHub Release
# / pre-release
- name: GitHub Release (pre-release)
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && contains(github.ref, '-')
uses: softprops/action-gh-release@v1
with:
prerelease: true
files: |
dist/*
build.zip
# - Release
- name: GitHub Release
build.tar.gz
# / release
- name: GitHub Release (release)
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && contains(github.ref, '-') == false
uses: softprops/action-gh-release@v1
with:
prerelease: false
files: |
dist/*
build.zip
- name: Add Latest Tag
uses: cardinalby/git-tag-action@master
env:
TAG: Latest
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build.tar.gz
# Authored by @kuohuanhuan.

View File

@ -14,6 +14,10 @@
- Node.js >= 16
## Browsers Support
According to [.browserslistrc](https://github.com/kuohuanhuan/x-markdown-css/blob/master/.browserslistrc), `x-markdown-css` supports **all browsers support CSS variables.**
## Install
```sh

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "x-markdown-css",
"version": "0.0.0-20230303.5",
"version": "0.0.1-patch.0",
"lockfileVersion": 3,
"requires": true,
"packages": {

View File

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