Skip to content

πŸ§ͺ Experimental Release #75

πŸ§ͺ Experimental Release

πŸ§ͺ Experimental Release #75

name: πŸš€ Release (experimental)
on:
push:
tags:
- "v0.0.0-experimental*"
concurrency: ${{ github.workflow }}-${{ github.ref }}
env:
CI: true
jobs:
release:
name: πŸ§‘β€πŸ”¬ Experimental Release
if: |
github.repository == 'remix-run/react-router' &&
contains(github.ref, 'experimental')
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: πŸ“¦ Setup pnpm
uses: pnpm/action-setup@v3.0.0
- name: βŽ” Setup node
uses: actions/setup-node@v4
with:
cache: pnpm
node-version-file: ".nvmrc"
- name: πŸ“₯ Install deps
run: pnpm install --frozen-lockfile
- name: πŸ— Build
run: pnpm build
- name: πŸ” Setup npm auth
run: |
echo "registry=https://registry.npmjs.org" >> ~/.npmrc
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc
- name: πŸš€ Publish
run: pnpm run publish