Skip to content

[js] Use tsx for plugin postinstall #13599

[js] Use tsx for plugin postinstall

[js] Use tsx for plugin postinstall #13599

Workflow file for this run

name: js-flipper
# This action runs on 'git push' and PRs
on: [push, pull_request]
jobs:
test-js-flipper:
defaults:
run:
working-directory: js/js-flipper
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: '18.x'
- name: yarn install (with retry)
uses: nick-fields/[email protected]
with:
command: cd js/js-flipper && yarn
timeout_minutes: 30
max_attempts: 3
- name: lint
run: yarn lint
- name: test
run: yarn test --coverage
build-react-example:
defaults:
run:
working-directory: js/react-flipper-example
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: '18.x'
- name: js-flipper - yarn install (with retry)
uses: nick-fields/[email protected]
with:
command: cd js/js-flipper && yarn
timeout_minutes: 30
max_attempts: 3
- name: js-flipper build
run: yarn build
working-directory: js/js-flipper
- name: yarn install (with retry)
uses: nick-fields/[email protected]
with:
command: cd js/react-flipper-example && yarn
timeout_minutes: 30
max_attempts: 3
- name: link local js-flipper
run: yarn relative-deps
- name: build
run: yarn build