Skip to content

Commit 67b7016

Browse files
committed
chore: add github actions ci script
1 parent 5d5fe85 commit 67b7016

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: ci
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: actions/setup-node@v2
14+
with:
15+
node-version: "12"
16+
cache: "yarn"
17+
- name: Install dependencies
18+
run: yarn
19+
- name: tsc
20+
run: yarn workspace react-native-tailwind.macro typescript
21+
- name: lint
22+
run: yarn workspace react-native-tailwind.macro lint
23+
- name: test
24+
run: yarn workspace react-native-tailwind.macro test

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# react-native-tailwind.macro ✨
22

3-
![npm](https://img.shields.io/npm/v/react-native-tailwind.macro)
3+
![npm version](https://img.shields.io/npm/v/react-native-tailwind.macro)
4+
![github workflow status](https://img.shields.io/github/workflow/status/finkef/react-native-tailwind.macro/ci)
45

56
> Babel macro for easily writing responsive Tailwind styles in React Native (+ Web).
67

0 commit comments

Comments
 (0)