Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update nightly release to use pnpm since it checks out the dev branch #9075

Merged
merged 1 commit into from Mar 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/nightly.yml
Expand Up @@ -34,14 +34,17 @@ jobs:
token: ${{ secrets.NIGHTLY_PAT }}
fetch-depth: 0

- name: 📦 Setup pnpm
uses: pnpm/action-setup@v3.0.0

- name: ⎔ Setup node
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "yarn"
cache: "pnpm"

- name: 📥 Install deps
run: yarn --frozen-lockfile
run: pnpm install --frozen-lockfile

- name: 🕵️ Check for changes
id: version
Expand Down Expand Up @@ -74,12 +77,12 @@ jobs:
git config --local user.email "hello@remix.run"
git config --local user.name "Remix Run Bot"
git checkout -b nightly/${{ steps.version.outputs.NEXT_VERSION }}
yarn run version ${{steps.version.outputs.NEXT_VERSION}} --skip-prompt
pnpm run version ${{steps.version.outputs.NEXT_VERSION}} --skip-prompt
git push origin --tags

- name: 🏗 Build
if: steps.version.outputs.NEXT_VERSION
run: yarn build
run: pnpm build

- name: 🔐 Setup npm auth
if: steps.version.outputs.NEXT_VERSION
Expand Down