Skip to content

Commit

Permalink
drop yarn and prefer pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
vygandas committed Oct 29, 2023
1 parent 51bb5b6 commit 3f47114
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 11,644 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/pr_affected_code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,15 @@ jobs:

- run: git fetch origin main

- run: yarn install
# - run: yarn install

- uses: pnpm/action-setup@v2
with:
version: 8
run_install: |
- recursive: true
args: [--frozen-lockfile, --strict-peer-dependencies]
# - args: [--global, gulp, prettier, typescript]

- name: Run Affected Tests
shell: bash
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ devinit:
npm:
$(call DOCKER_RUN_CMD) --entrypoint="npm" node-dev-env:latest $(call ARGS, defaultstring)

pnpm:
$(call DOCKER_RUN_CMD) --entrypoint="pnpm" node-dev-env:latest $(call ARGS, defaultstring)

yarn:
$(call DOCKER_RUN_CMD) --entrypoint="yarn" node-dev-env:latest $(call ARGS, defaultstring)

Expand Down
4 changes: 4 additions & 0 deletions docker/utility/node.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ FROM node:lts-alpine as builder

WORKDIR /app

ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable

RUN yarn global add nx@latest

RUN yarn global add nodemon@latest
Expand Down
Loading

1 comment on commit 3f47114

@vercel
Copy link

@vercel vercel bot commented on 3f47114 Oct 29, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.