diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4cdee26..6251481 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,12 +6,13 @@ on: jobs: build-deploy: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: - - uses: actions/checkout@master - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 18 + registry-url: 'https://registry.npmjs.org' - run: npm run start - name: Deploy diff --git a/README.md b/README.md index 22debc4..b0184b6 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,8 @@ Chrome 插件 [oscnews](https://github.com/jaywcjlove/oscnews) 的子仓库,存储网址导航 logo 的仓库。 +[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor) + 预览所有 logo 图标:http://jaywcjlove.github.io/logo/ ## Chrome插件 diff --git a/package.json b/package.json index de3e04d..b6a5c55 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "1.0.0", "private": true, "homepage": "https://jaywcjlove.github.io/logo", + "funding": "https://jaywcjlove.github.io/#/sponsor", "description": "", "scripts": { "start": "node create.js",