mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
036ffbc530
Summary: This pull request converts the CircleCI workflows to GitHub actions workflows. This change only inlcudes the android build and test jobs. ## Changelog: <!-- Help reviewers and the release process by writing your own changelog entry. Pick one each for the category and type tags: [ANDROID|GENERAL|IOS|INTERNAL] [BREAKING|ADDED|CHANGED|DEPRECATED|REMOVED|FIXED|SECURITY] - Message For more details, see: https://reactnative.dev/contributing/changelogs-in-pull-requests Pull Request resolved: https://github.com/facebook/react-native/pull/43644 Test Plan: [Here is the latest workflow run in my fork](https://github.com/robandpdx-org/react-native/actions/runs/8426560047). --- https://fburl.com/workplace/f6mz6tmw Reviewed By: NickGerleman Differential Revision: D55417814 Pulled By: cortinico fbshipit-source-id: 918c6be6fa06bb6605fad6efe21def5fe397f024
20 lines
530 B
YAML
20 lines
530 B
YAML
name: Setup node.js
|
|
description: 'Set up your GitHub Actions workflow with a specific version of node.js'
|
|
inputs:
|
|
node-version:
|
|
description: 'The node.js version to use'
|
|
required: false
|
|
default: '18'
|
|
cache:
|
|
description: 'The package manager to use for caching dependencies'
|
|
required: false
|
|
default: 'yarn'
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Setup node.js
|
|
uses: actions/setup-node@v4.0.0
|
|
with:
|
|
node-version: ${{ inputs.node-version }}
|
|
cache: ${{ inputs.cache }}
|