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

Use PNPM #9

Merged
merged 1 commit into from
Aug 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,15 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup pnpm
# Pulls version from packageManager key in package.json
uses: pnpm/action-setup@v2
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'yarn'
cache: 'pnpm'
- name: Install dependencies
run: yarn install
run: pnpm install
- name: Run prettier
run: yarn format:check
run: pnpm format:check
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
yarn.lock
pnpm-lock.yaml
.gitignore
node_modules/*
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
],
"scripts": {
"test": "yarn",
"format": "yarn prettier --write .",
"format:check": "yarn prettier --check ."
"format": "pnpm prettier --write .",
"format:check": "pnpm prettier --check ."
},
"devDependencies": {
"miragejs": "~0.1.43",
Expand All @@ -24,5 +24,6 @@
"msw": "^0.39.2"
},
"author": "Brian Gantzler",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can change this name to something more generic if you wish, or even just MirageJS

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're the one who wrote it originally, seems fair to keep you as the author.

"license": "MIT"
"license": "MIT",
"packageManager": "[email protected]"
}
Loading