diff options
author | Doge <[email protected]> | 2021-05-23 10:03:40 +0800 |
---|---|---|
committer | Doge <[email protected]> | 2021-05-23 10:03:40 +0800 |
commit | 2b487ab5114636b0d0c232477f07dc7986366a4e (patch) | |
tree | 87f33b99e01d36ada5ed4a956271f82072435ed0 | |
parent | 05a646a7ef4b001fd4cb314173812d0674a5a0ea (diff) | |
download | chromate-2b487ab5114636b0d0c232477f07dc7986366a4e.tar.gz chromate-2b487ab5114636b0d0c232477f07dc7986366a4e.tar.bz2 chromate-2b487ab5114636b0d0c232477f07dc7986366a4e.zip |
Add GitHub check action and package desc
-rw-r--r-- | .github/workflows/unittest.yaml | 20 | ||||
-rw-r--r-- | package.json | 32 |
2 files changed, 52 insertions, 0 deletions
diff --git a/.github/workflows/unittest.yaml b/.github/workflows/unittest.yaml new file mode 100644 index 0000000..bbb97f2 --- /dev/null +++ b/.github/workflows/unittest.yaml @@ -0,0 +1,20 @@ +name: Hexo Theme Chromate Test +on: [push] +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Node.js envs + uses: actions/setup-node@v1 + with: + node-version: "12.x" + - name: Generate + run: | + git clone https://github.com/hexojs/hexo-theme-unit-test.git test + git clone https://github.com/guiqiqi/storage.git config + mv config/_config.yml test/_config.yml + git clone https://github.com/guiqiqi/chromate.git test/themes/chromate + cd test + npm install + npm install podcast --save + npx hexo clean && npx hexo generate
\ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..af261c6 --- /dev/null +++ b/package.json @@ -0,0 +1,32 @@ +{ + "name": "hexo-theme-chromate", + "version": "0.0.0", + "author": { + "name": "Doge-GUI", + "email": "[email protected]", + "url": "https://init.blog" + }, + "description": "A new Hexo theme designed for Podcasters.", + "keywords": [ + "hexo", + "chromate", + "podcast", + "card-design", + "bulma", + "responsive", + "darkmode" + ], + "repository": { + "type": "git", + "url": "https://github.com/guiqiqi/chromate.git" + }, + "license": "MIT", + "main": "README.md", + "bugs": { + "url": "https://github.com/guiqiqi/chromate/issues" + }, + "homepage": "https://github.com/guiqiqi/chromate", + "dependencies": { + "podcast": "^1.3.0" + } +}
\ No newline at end of file |