Skip to content
Open
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
27 changes: 18 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,20 @@ jobs:
- name: Checkout
uses: actions/checkout@v6

- name: Use pnpm
uses: pnpm/action-setup@v4

- name: Use Node.js
uses: actions/setup-node@v6
with:
node-version: "24"
cache: yarn
cache: "pnpm"

- name: Install dependencies
run: yarn install --frozen-lockfile
run: pnpm install --frozen-lockfile

- name: Run lint
run: yarn lint
run: pnpm lint

unit:
name: Unit tests
Expand All @@ -38,17 +41,20 @@ jobs:
- name: Checkout
uses: actions/checkout@v6

- name: Use pnpm
uses: pnpm/action-setup@v4

- name: Use Node.js
uses: actions/setup-node@v6
with:
node-version: "24"
cache: yarn
cache: "pnpm"

- name: Install dependencies
run: yarn install --frozen-lockfile
run: pnpm install --frozen-lockfile

- name: Run tests
run: yarn test
run: pnpm test

build:
name: Build
Expand All @@ -58,14 +64,17 @@ jobs:
- name: Checkout
uses: actions/checkout@v6

- name: Use pnpm
uses: pnpm/action-setup@v4

- name: Use Node.js
uses: actions/setup-node@v6
with:
node-version: "24"
cache: yarn
cache: "pnpm"

- name: Install dependencies
run: yarn install --frozen-lockfile
run: pnpm install --frozen-lockfile

- name: Run build
run: yarn build
run: pnpm build
22 changes: 21 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
# OS
.DS_Store
/node_modules

# Cache
.cache
.tmp
.eslintcache

# Project-generated directories and files
coverage
dist
node_modules
playwright-report
test-results
package.tgz

# Logs
logs
npm-debug.log

# Built files
/index.js

6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Contributing to css-to-react-native

## Prerequisites

- [Node.js](https://nodejs.org) 20.0 or later
- [Corepack](https://github.com/nodejs/corepack)
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,6 @@
"eslint --fix",
"git add"
]
}
},
"packageManager": "pnpm@10.32.1"
}
Loading