Skip to content

Commit

Permalink
test: add github action (#280)
Browse files Browse the repository at this point in the history
* test: add github action

* test: use bun

* Update .github/workflows/ci.yml

* test: fix test and add badges

* test: fix lint
  • Loading branch information
afc163 authored Jun 21, 2024
1 parent 050a91c commit 14ee166
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 54 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI

on: ['push', 'pull_request']

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- uses: oven-sh/setup-bun@v1
with:
bun-version: latest

- name: Install dependencies
run: bun install

- name: Run lint
run: bun run lint
4 changes: 0 additions & 4 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![npm package](https://img.shields.io/npm/v/@ant-design/tools.svg?style=flat-square)](https://www.npmjs.org/package/@ant-design/tools)
[![NPM downloads](http://img.shields.io/npm/dm/@ant-design/tools.svg?style=flat-square)](http://npmjs.com/@ant-design/tools)
[![Travis](https://img.shields.io/travis/ant-design/antd-tools/master.svg?style=flat-square)](https://travis-ci.org/ant-design/antd-tools)
[![CI](https://github.com/ant-design/antd-tools/actions/workflows/ci.yml/badge.svg)](https://github.com/ant-design/antd-tools/actions/workflows/ci.yml)

Tools for Ant Design of React: https://github.com/ant-design/ant-design

Expand Down
49 changes: 0 additions & 49 deletions __tests__/utils/styleUtil.js

This file was deleted.

0 comments on commit 14ee166

Please sign in to comment.