Skip to content

[WIP] clean up github workflows for cache correctness #106

[WIP] clean up github workflows for cache correctness

[WIP] clean up github workflows for cache correctness #106

Workflow file for this run

name: Nightly Release Branch

Check failure on line 1 in .github/workflows/nightly-release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/nightly-release.yml

Invalid workflow file

`schedule` accepts a list of one or more maps with the `cron` key set
on:
# remove the [] when this is turned on
schedule: []
# Run daily at 2:30am UTC
# - cron: '30 2 * * 1-5'
jobs:
release:
# prevents this action from running on forks
if: github.repository_owner == 'facebook'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.SSH_KEY }}
fetch-depth: 0
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v4
with:
node-version: 20.x
registry-url: 'https://registry.npmjs.org'
- run: |
git config user.name "Lexical GitHub Actions Bot"
git config user.email "<>"
- run: npm ci
- run: npm run increment-version -- --i prerelease
- run: git push -u git@github.com:facebook/lexical.git --follow-tags