-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #958 from Royal-Navy/feat/pnpm
build(Dependencies): Migrate from yarn to pnpm
- Loading branch information
Showing
25 changed files
with
21,641 additions
and
18,764 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
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,31 @@ | ||
name: Set up Node.js and install dependencies | ||
description: Sets up Node.js and installs dependencies | ||
inputs: | ||
unpack-prebuilt-libraries: | ||
description: Whether to unpack pre-built icon-library and design-tokens bundles | ||
required: false | ||
default: '' | ||
runs: | ||
using: composite | ||
steps: | ||
- uses: pnpm/action-setup@v3 | ||
with: | ||
version: 9.1.1 | ||
run_install: false | ||
standalone: true | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: .nvmrc | ||
cache: pnpm | ||
|
||
- name: Cache Node modules | ||
uses: actions/cache@v4 | ||
with: | ||
path: '**/node_modules' | ||
key: node-modules-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
|
||
- name: Install dependencies | ||
shell: bash | ||
run: | | ||
pnpm install --frozen-lockfile --ignore-scripts |
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
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
Oops, something went wrong.