Files
yoga/.github/actions/setup-js/action.yml
Nick Gerleman f8067420d6 Windows fixes
2022-12-24 23:17:51 -08:00

28 lines
634 B
YAML

name: Setup JavaScript envirionment
runs:
using: "composite"
steps:
- name: Install Node
uses: actions/setup-node@v1
with:
node-version: 18.x
- name: Install emsdk
uses: ./.github/actions/install-emsdk
- name: Install ninja (Linux)
if: ${{ runner.os == 'Linux' }}
shell: bash
run: sudo apt-get install -y ninja-build
- name: Install ninja (Windows)
if: ${{ runner.os == 'Windows' }}
shell: powershell
run: choco install ninja
- name: yarn install
shell: bash
run: yarn install --frozen-lockfile
working-directory: javascript