Skip to content
This repository has been archived by the owner on Oct 5, 2024. It is now read-only.

Commit

Permalink
build: switch package manager to pnpm (#212)
Browse files Browse the repository at this point in the history
* build: switch to pnpm tool

Signed-off-by: tison <wander4096@gmail.com>

* fixup

Signed-off-by: tison <wander4096@gmail.com>

* fixup

Signed-off-by: tison <wander4096@gmail.com>

---------

Signed-off-by: tison <wander4096@gmail.com>
  • Loading branch information
tisonkun authored Jun 1, 2024
1 parent 4ce530c commit 2839d4b
Show file tree
Hide file tree
Showing 17 changed files with 31,727 additions and 14,455 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 Korandoru Contributors
# Copyright 2023 tison <wander4096@gmail.com>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 Korandoru Contributors
# Copyright 2023 tison <wander4096@gmail.com>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -37,11 +37,11 @@ jobs:
node-version: 18.x
- run: corepack enable
- name: Install dependencies
run: yarn dlx ci
run: pnpm install
- name: Rebuild dist
run: |
yarn run build
yarn run package
pnpm run build
pnpm run package
- name: Compare the expected and actual dist/ directories
id: diff
run: |
Expand All @@ -61,8 +61,8 @@ jobs:
with:
node-version: 20.x
- run: corepack enable
- run: yarn install
- run: yarn run all
- run: pnpm install
- run: pnpm run all

test:
strategy:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 Korandoru Contributors
# Copyright 2023 tison <wander4096@gmail.com>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -27,8 +27,8 @@ jobs:
with:
node-version: 20.x
- run: corepack enable
- run: yarn install
- run: yarn run all
- run: yarn semantic-release
- run: pnpm install
- run: pnpm run all
- run: pnpm semantic-release
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_PAT }}
15 changes: 0 additions & 15 deletions .yarnrc.yml

This file was deleted.

2 changes: 1 addition & 1 deletion __tests__/main.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2023 Korandoru Contributors
* Copyright 2023 tison <wander4096@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 Korandoru Contributors
# Copyright 2023 tison <wander4096@gmail.com>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
Loading

0 comments on commit 2839d4b

Please sign in to comment.