-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rename setup-pnpm to reusable actions
- Loading branch information
1 parent
81eec30
commit 789c00b
Showing
4 changed files
with
21 additions
and
29 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Setup pnpm Reusable Workflow | ||
description: Install pnpm and dependencies | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Checkout code | ||
uses: actions/[email protected] | ||
|
||
- name: Install pnpm | ||
uses: pnpm/action-setup@v4 | ||
with: | ||
version: '9.15' | ||
run_install: false | ||
|
||
- name: Install Dependencies | ||
shell: sh | ||
run: pnpm install |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,7 +47,7 @@ jobs: | |
id: nvm | ||
|
||
- name: Setup pnpm | ||
uses: ./.github/workflows/setup-pnpm.yml | ||
uses: ./.github/actions/install-deps | ||
|
||
- name: Use Node.js ${{ steps.nvm.outputs.NODE_VERSION }} | ||
uses: actions/[email protected] | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,9 +37,9 @@ jobs: | |
- uses: actions/[email protected] | ||
with: | ||
node-version: ${{ steps.nvm.outputs.NODE_VERSION }} | ||
|
||
- name: Setup pnpm | ||
uses: ./.github/workflows/setup-pnpm.yml | ||
uses: ./.github/actions/install-deps | ||
|
||
- name: Release new version to NPM | ||
run: pnpm build && pnpm semantic-release | ||
|
This file was deleted.
Oops, something went wrong.