Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add test ci and show it in readme #84

Merged
merged 1 commit into from
Nov 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Test

on:
push:
branches: [main]

jobs:
ci:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x

- name: ci
run: |
npm i pnpm -g
pnpm install
pnpm run test
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@

A components collection for Web3.

[![NPM version][npm-image]][npm-url]
[![test status][github-action-image]][github-action-url] [![NPM version][npm-image]][npm-url]

[![antd][antd-image]][antd-url] [![dumi][dumi-image]][dumi-url]

[github-action-image]: https://github.com/ant-design/ant-design-web3/workflows/test/badge.svg
[github-action-url]: https://github.com/ant-design/ant-design-web3/actions/workflows/test.yml
[npm-image]: https://img.shields.io/npm/v/@ant-design/web3.svg?style=flat-square
[npm-url]: http://npmjs.org/package/@ant-design/web3
[dumi-image]: https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square
Expand Down