Files
yoga/.github/actions/setup-js/action.yml
Nick Gerleman f023702f75 Make gentest-validate more graceful of different file organization (#1672)
Summary:
Pull Request resolved: https://github.com/facebook/yoga/pull/1672

This reworks `gentest-validate`, to be more resilient to changes like D58307002, which cause [validation failures](https://github.com/facebook/yoga/actions/runs/9653979292/job/26627690870) on the intrinsic sizing testing change, which currently causes failure due to the file traversal code not handling the presence of directories.

Differential Revision: D58987293
2024-06-24 21:47:01 -07:00

19 lines
421 B
YAML

name: Setup JavaScript envirionment
runs:
using: "composite"
steps:
- name: Setup Node environment
uses: actions/setup-node@v3
with:
node-version: 20.x
cache: yarn
cache-dependency-path: yarn.lock
env:
# https://github.com/actions/setup-node/issues/317
FORCE_COLOR: 0
- name: yarn install
shell: bash
run: yarn install --frozen-lockfile