Skip to content

Remove babel-jest dependency (#55) #27

Remove babel-jest dependency (#55)

Remove babel-jest dependency (#55) #27

Workflow file for this run

name: Nightly
on:
workflow_dispatch:
# Instead of running every night we run
# Once for every commit in main as the traffic on this repo
# is lower than facebook/react-native.
push:
branches:
- main
jobs:
publish_template_as_nightly:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup node.js
uses: actions/[email protected]
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
- name: Update versions to nightly
run: node ./scripts/updateTemplateVersion.js nightly
- name: Update template/package.json to nightly react-native + @react-native
run: node ./scripts/updateReactNativeVersion.js nightly
- name: Publish NPM as Nightly
run: npm publish --tag nightly
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}