mirror of
https://github.com/zhigang1992/nativewind.git
synced 2026-06-12 08:58:20 +08:00
29 lines
515 B
YAML
29 lines
515 B
YAML
name: Tests
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- 'renovate/**'
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
CI:
|
|
strategy:
|
|
matrix:
|
|
node-version: [14, 16]
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
cache: 'npm'
|
|
- run: npm install
|
|
- run: npm run build
|
|
- run: npm test
|