Skip to content

Nightly Releases

Nightly Releases #33

Workflow file for this run

name: 'Nightly Releases'
on:
schedule:
- cron: '0 0 * * 2-6'
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
publish:
name: 'Publish'
runs-on: ubuntu-latest
if: github.repository == 'strapi/strapi'
steps:
- uses: actions/checkout@v4
- name: Setup npmrc
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
- uses: actions/setup-node@v4
with:
node-version: 20
- run: yarn
- run: ./scripts/pre-publish.sh --yes
env:
VERSION: '0.0.0-next.${{ github.sha }}'
DIST_TAG: next