Skip to content

Commit

Permalink
Merge pull request #164 from Turbo87/pnpm
Browse files Browse the repository at this point in the history
Migrate from yarn to pnpm
  • Loading branch information
Turbo87 authored Apr 10, 2021
2 parents 81a331c + 4359dd0 commit 0c8dd54
Show file tree
Hide file tree
Showing 4 changed files with 5,762 additions and 5,901 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,16 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: volta-cli/action@v1
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
yarn-version: 1.22.5

- run: yarn install
- run: yarn test --coverage
- uses: pnpm/[email protected]
with:
version: 5.18.9

- run: pnpm install
- run: pnpm test -- --coverage

release:
name: Release
Expand All @@ -46,11 +49,15 @@ jobs:
node-version: 10
registry-url: 'https://registry.npmjs.org'

- run: yarn install --frozen-lockfile
- uses: pnpm/[email protected]
with:
version: 5.18.9

- run: pnpm install --frozen-lockfile

- name: auto-dist-tag
run: npx auto-dist-tag@1 --write
run: pnpx auto-dist-tag@1 --write

- run: npm publish
- run: pnpm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 2 additions & 2 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ Once the prep work is completed, the actual release is straight forward:
* Next, ensure that you have installed your projects dependencies:

```
yarn install
pnpm install
```

* And last (but not least 😁) do your release:

```
yarn release
pnpm run release
```

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

0 comments on commit 0c8dd54

Please sign in to comment.