From f1f00924c93c267493fadc165f36b317ca8225cc Mon Sep 17 00:00:00 2001 From: Axetroy Date: Thu, 3 Aug 2023 23:28:38 +0800 Subject: [PATCH] dupdate --- .github/FUNDING.yml | 12 ++++++++++++ .github/workflows/build.yml | 29 +++++++++++++++++++++++++++++ README.md | 1 + 3 files changed, 42 insertions(+) create mode 100644 .github/FUNDING.yml create mode 100644 .github/workflows/build.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..ac76821 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,12 @@ +# These are supported funding model platforms + +github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +custom: https://github.com/axetroy/buy-me-a-cup-of-tea diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..fe5ece6 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,29 @@ +name: build + +on: [push, pull_request] + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + node: ["16"] + os: [ubuntu-latest, macOS-latest, windows-latest] + name: node.js ${{ matrix.node }} test in ${{ matrix.os }} + steps: + - uses: actions/checkout@v3 + + - name: Environment + run: | + node -v + npm -v + yarn --version + + - name: Install + run: yarn + + - name: Tester + run: yarn test + + - name: Compiler + run: yarn build diff --git a/README.md b/README.md index e8d0bb1..f657b45 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +[![Build Status](https://github.com/axetroy/iconfont-componentized/workflows/build/badge.svg)](https://github.com/axetroy/iconfont-componentized/actions) [![996.icu](https://img.shields.io/badge/link-996.icu-red.svg)](https://996.icu) [![LICENSE](https://img.shields.io/badge/license-Anti%20996-blue.svg)](https://github.com/996icu/996.ICU/blob/master/LICENSE)