Skip to content

🌙 Nightly

🌙 Nightly #150

Workflow file for this run

name: Nightly Release
on:
workflow_dispatch:
schedule:
# Run every Monday-Friday
# at 6:00 UTC (6:00 am UTC)
- cron: '00 06 * * 1-5'
jobs:
Release:
name: 🚀 Release Nightly
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: ./.github/workflows/actions/setup-release
with:
token: ${{ secrets.GITHUB_TOKEN }}
npm-token: ${{ secrets.NPM_TOKEN }}
- name: Release nightly
run: |
npx changeset version --snapshot nightly
npx changeset publish --no-git-tag --tag nightly
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Git Reset
run: git reset --hard
shell: bash