Skip to content

πŸŒƒοΈ Nightly #1074

πŸŒƒοΈ Nightly

πŸŒƒοΈ Nightly #1074

Workflow file for this run

name: ' πŸŒƒοΈ Nightly'
on:
schedule:
# * is a special character in YAML so you have to quote this string
# ref: https://docs.github.com/en/actions/reference/events-that-trigger-workflows#schedule
# β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ minute (0 - 59)
# β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ hour (0 - 23)
# β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ day of the month (1 - 31)
# β”‚ β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ month (1 - 12 or JAN-DEC)
# β”‚ β”‚ β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ day of the week (0 - 6 or SUN-SAT)
# β”‚ β”‚ β”‚ β”‚ β”‚
# β”‚ β”‚ β”‚ β”‚ β”‚
# β”‚ β”‚ β”‚ β”‚ β”‚
# * * * * *
- cron: '0 0 * * *'
env:
GH_BOT_TOKEN: ${{ secrets.GH_BOT_TOKEN }}
GH_DEPLOY_TOKEN: ${{ secrets.GH_DEPLOY_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
# TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
jobs:
pull:
name: 'πŸ‘·οΈ CI'
if: github.ref == 'refs/heads/main'
timeout-minutes: 20
runs-on: ubuntu-latest
strategy:
fail-fast: false
env:
GH_TOKEN: ${{ secrets.GH_BOT_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_BOT_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
# TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
steps:
- name: 'πŸ™οΈ Checkout'
id: pull-checkout
uses: actions/checkout@v4
with:
fetch-depth: 100
- name: 'πŸ’½οΈ Init'
id: cron-init
uses: JeromeFitz/packages/.github/actions/init@main
- name: 'πŸ“¦ Install'
id: cron-install
uses: JeromeFitz/packages/.github/actions/install@main
# - name: 'πŸ”ΊοΈ Cache (turbo)'
# id: pull-cache-turbo
# uses: JeromeFitz/packages/.github/actions/cache-turbo@main
# with:
# TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
# TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
# - name: '🚨️ Lint'
# id: cron-lint
# uses: JeromeFitz/packages/.github/actions/lint@main
# with:
# TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
# TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
- name: '🚨️ Lint'
id: cron-lint
shell: bash
run: |
pnpm run lint
# - name: 'πŸ—οΈ Build'
# id: cron-build
# uses: JeromeFitz/packages/.github/actions/build@main
# with:
# TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
# TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
- name: '🏷️ Release'
id: cron-release
uses: JeromeFitz/packages/.github/actions/release@main
with:
GH_TOKEN: ${{ secrets.GH_BOT_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}