Files
flipper/.github/workflows/publish-npm.yml
Andrey Goncharov 41d7b2a307 Update OSS node version (#3822)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/3822

Update Node version in CI pipeline

Reviewed By: lblasa

Differential Revision: D37207646

fbshipit-source-id: 157d1da9b01ca3ad34047908abc629f84d6736bc
2022-06-16 06:27:01 -07:00

37 lines
859 B
YAML

name: Publish NPM
on:
push:
tags:
- v*
workflow_dispatch:
defaults:
run:
working-directory: desktop/
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '16.x'
- name: Install
run: yarn
- name: Set versions
run: yarn bump-versions
- name: Set up npm token
run: echo "//registry.yarnpkg.com/:_authToken=${{ secrets.FLIPPER_NPM_TOKEN }}" >> ~/.npmrc
- name: Publish packages
run: yarn publish-packages
- name: Publish React Native
run: yarn publish
working-directory: react-native/react-native-flipper
- name: Publish JS Flipper
working-directory: js/js-flipper
run: |
yarn
yarn build
yarn publish