Version 0.0.0-experimental-add6f8aa #57
Workflow file for this run
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 (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@v3 | |
with: | |
fetch-depth: 0 | |
- name: β Setup node | |
uses: actions/setup-node@v3 | |
with: | |
cache: yarn | |
node-version-file: ".nvmrc" | |
- name: π₯ Install deps | |
run: yarn --frozen-lockfile | |
- name: π Build | |
run: yarn 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: npm run publish |