Skip to content

Revert Slot changes causing RSC errors (#3554) #80

Revert Slot changes causing RSC errors (#3554)

Revert Slot changes causing RSC errors (#3554) #80

name: 'Publish Snapshot Release'
on:
push:
branches:
- main
paths-ignore:
# - '.github/**'
- '**/package.json'
env:
NPM_TOKEN: ${{ secrets.NPM_AUTOMATION_FROM_CHANCE }}
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
publish-snapshot:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
run_install: false
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build packages
run: pnpm build
- name: Write .npmrc
run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc
- name: Update snapshot version
run: pnpm run bump:next
- name: Publish snapshot
run: pnpm run release:next --no-git-checks