Release/v2.2.0 #43
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "🧪 unit-test" | |
on: | |
pull_request: | |
branches: | |
- main | |
types: | |
- opened # When PR is first created | |
- synchronize # When new commits are pushed to the PR | |
- reopened # When a closed PR is reopened | |
jobs: | |
release: | |
name: 🧪 unit-test | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v1 | |
- name: Setup Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 20 | |
registry-url: https://registry.npmjs.org | |
- name: Install react | |
run: yarn add [email protected] -D | |
- name: Install react-native | |
run: yarn add [email protected] -D | |
- name: Install dependencies | |
run: yarn install | |
- name: Test | |
run: yarn test |