Skip to content

Commit

Permalink
Refactor release workflow to streamline pnpm installation and remove …
Browse files Browse the repository at this point in the history
…deprecated .nvmrc file
  • Loading branch information
JackDevAU committed Jan 17, 2025
1 parent e3aed37 commit 1784436
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,17 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v3

# Setup pnpm and install dependencies
- name: Install pnpm
uses: pnpm/action-setup@v4

# Setup Node.js 20.x
- name: Setup Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm

# Setup pnpm and install dependencies
- name: Setup and Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10 # Use the required pnpm version
run_install: |
- recursive: true
args: [--no-frozen-lockfile, --strict-peer-dependencies]
# Create a release pull request or publish to npm
- name: Create Release Pull Request or Publish to npm
id: changesets
Expand Down
Empty file removed .npmrc
Empty file.
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

0 comments on commit 1784436

Please sign in to comment.