Skip to content

Commit

Permalink
Update nightly release to use pnpm since it checks out the dev branch
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 committed Mar 18, 2024
1 parent 8f6e21f commit 7367899
Showing 1 changed file with 7 additions and 4 deletions.
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

0 comments on commit 7367899

Please sign in to comment.