Skip to content

feat: adds github actions for build and test #1

feat: adds github actions for build and test

feat: adds github actions for build and test #1

Workflow file for this run

name: Run unit tests for react-native package
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
merge_group:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "pnpm"
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9.0.0
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build