更新使用 GitHub Action

This commit is contained in:
2026-02-10 09:29:00 -05:00
parent a082984e47
commit 52e211fb21
3 changed files with 43 additions and 6 deletions
+25
View File
@@ -0,0 +1,25 @@
name: Publish Package
on:
push:
tags:
- 'v*'
permissions:
id-token: write # Required for OIDC
contents: read
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '24'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build --if-present
- run: npm test
- run: npm publish
+12
View File
@@ -0,0 +1,12 @@
# Default ignored files
/shelf/
/workspace.xml
# Ignored default folder with query files
/queries/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
# Editor-based HTTP Client requests
/httpRequests/
# Zeppelin ignored files
/ZeppelinRemoteNotebooks/
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "docsify-plugin-adsense",
"version": "1.0.0",
"name": "docsify-plugin-google-adsense ",
"version": "0.0.1",
"description": "[docsify](https://docsify.js.org/) plugin to make you easy to join up [google adsense](https://www.google.com/adsense)",
"main": "index.js",
"scripts": {
@@ -8,7 +8,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/iscod/docsify-plugin-adsense.git"
"url": "https://src.isharkfly.com/iSharkFly-Open/docsify-plugin-adsense.git"
},
"keywords": [
"google adsense",
@@ -16,10 +16,10 @@
"docsify",
"plugin"
],
"author": "iscod",
"author": "iSharkFly",
"license": "MIT",
"bugs": {
"url": "https://github.com/iscod/docsify-plugin-adsense/issues"
"url": "https://src.isharkfly.com/iSharkFly-Open/docsify-plugin-adsense"
},
"homepage": "https://github.com/iscod/docsify-plugin-adsense#readme"
"homepage": "https://src.isharkfly.com/iSharkFly-Open/docsify-plugin-adsense#readme"
}