Skip to content

fix(preview): handle renamed new file #300

fix(preview): handle renamed new file

fix(preview): handle renamed new file #300

Workflow file for this run

name: Publish Studio (Nightly)
on:
push:
branches:
- main
jobs:
nightly:
strategy:
matrix:
os: [ubuntu-latest]
node: [20]
runs-on: ${{ matrix.os }}
permissions:
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4 # v4
- name: Add pnpm
run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: "https://registry.npmjs.org/"
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Prepare
run: pnpm dev:prepare
- name: Build
run: pnpm build
- name: Release Nightly
run: pnpm changelogen --bump --canary --publish --publishTag nightly
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
NPM_CONFIG_PROVENANCE: true