Skip to content

Remove dry-run (#21) #6

Remove dry-run (#21)

Remove dry-run (#21) #6

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
- name: Update versions to nightly
run: node updateTemplateVersion.js nightly
- name: Publish NPM as Nightly
run: npm publish --tag nightly
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}