fix(runtime): pages are not editable when running in dev w/ NextJS 14.2 #642
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: | |
- main | |
concurrency: ${{ github.workflow}}-${{ github.ref }} | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out git repo | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up pnpm 8.x | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Set up Node.js 18.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
cache: pnpm | |
- name: Install dependencies | |
run: pnpm install --ignore-scripts | |
- name: Create release pull request or publish to NPM | |
uses: changesets/action@v1 | |
with: | |
publish: pnpm exec changeset publish | |
commit: 'chore: version packages' | |
title: 'Version and publish packages' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- name: Get current branch | |
run: echo "CURRENT_BRANCH=$(git branch --show-current)" >> $GITHUB_ENV | |
- name: Update lock file | |
if: env.CURRENT_BRANCH == 'changeset-release/main' | |
run: pnpm install --lockfile-only | |
- name: Commit lock file | |
if: env.CURRENT_BRANCH == 'changeset-release/main' | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: 'chore: update lock file' | |
branch: changeset-release/main |