Skip to content

Merge pull request #14 from robandpdx-org/convert-facebook-react-nati… #14

Merge pull request #14 from robandpdx-org/convert-facebook-react-nati…

Merge pull request #14 from robandpdx-org/convert-facebook-react-nati… #14

Workflow file for this run

name: facebook/react-native-website/tests
on:
push:
branches:
- main
jobs:
setup:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- name: save_cache
uses: actions/[email protected]
with:
path: "~/react-native-website"
key: v1-repo-${{ github.sha }}
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: yarn
- uses: "./.github/actions/restore_cache_checkout"
- uses: "./.github/actions/run_yarn"
- uses: borales/actions-yarn@v4
with:
cmd: add -W
- uses: borales/actions-yarn@v4
with:
cmd: ci:lint
build:
runs-on: ubuntu-latest
env:
NODE_OPTIONS: "--max_old_space_size=4096"
steps:
- uses: actions/[email protected]
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: yarn
- uses: "./.github/actions/restore_cache_checkout"
- uses: "./.github/actions/run_yarn"
- uses: borales/actions-yarn@v4
with:
cmd: add -W
- uses: borales/actions-yarn@v4
with:
cmd: build