Skip to content

Commit

Permalink
migrate from yarn to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
jelhan committed Jan 8, 2024
1 parent 017d93a commit 5b6fe06
Show file tree
Hide file tree
Showing 5 changed files with 12,450 additions and 12,165 deletions.
36 changes: 13 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,34 +18,28 @@ jobs:
timeout-minutes: 10

steps:
- uses: actions/checkout@v4
- name: Install Node
uses: actions/setup-node@v4
- uses: actions/checkout@v3
- uses: wyvox/action-setup-pnpm@v2
with:
node-version: 18.x
cache: yarn
- name: Install Dependencies
run: yarn install --frozen-lockfile
node-version: 18
- name: Lint
run: yarn lint
run: pnpm lint
- name: Run Tests
run: yarn test:ember
run: pnpm test:ember

floating:
name: "Floating Dependencies"
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v3
- uses: wyvox/action-setup-pnpm@v2
with:
node-version: 18.x
cache: yarn
- name: Install Dependencies
run: yarn install --no-lockfile
node-version: 18
no-lockfile: true
- name: Run Tests
run: yarn test:ember
run: pnpm test:ember

try-scenarios:
name: ${{ matrix.try-scenario }}
Expand All @@ -68,13 +62,9 @@ jobs:
- ember-modifier-3.2.7

steps:
- uses: actions/checkout@v4
- name: Install Node
uses: actions/setup-node@v4
- uses: actions/checkout@v3
- uses: wyvox/action-setup-pnpm@v2
with:
node-version: 18.x
cache: yarn
- name: Install Dependencies
run: yarn install --frozen-lockfile
node-version: 18
- name: Run Tests
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }}
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

* `git clone <repository-url>`
* `cd ember-style-modifier`
* `yarn install`
* `pnpm install`

## Linting

* `yarn lint`
* `yarn lint:fix`
* `pnpm lint`
* `pnpm lint:fix`

## Running tests

Expand Down
4 changes: 2 additions & 2 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Once the prep work is completed, the actual release is straight forward:
* Firste ensure that you have installed the projects dependencies:

```
yarn install
pnpm install
```

* Second, provide a GitHub [personal access token](https://github.com/settings/tokens)
Expand All @@ -46,7 +46,7 @@ export GITHUB_AUTH="f941e0..."
* And last (but not least :grin:) do your release:

```
yarn release
pnpm release
```

[release-it](https://github.com/release-it/release-it/) manages the actual
Expand Down
Loading

0 comments on commit 5b6fe06

Please sign in to comment.