-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Yarn 1, what the project used before, has been deprecated for a while. Updating to Yarn Berry (4) would be possible, but it is not that widespread yet. pnpm is another alternative package manager which many projects have now switched to. It is a lot faster than yarn, and offers safer dependency management
- Loading branch information
Showing
7 changed files
with
3,363 additions
and
2,716 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# See: https://github.com/codespell-project/codespell#using-a-config-file | ||
[codespell] | ||
skip = ./node_modules,./build,yarn.lock | ||
skip = ./node_modules,./build,pnpm-lock.yaml | ||
contex=6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,21 +10,25 @@ jobs: | |
env: | ||
NODE_ENV: ${{ matrix.node-env }} | ||
steps: | ||
- name: Checkout | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Node | ||
- name: Setup Node | ||
uses: actions/[email protected] | ||
with: | ||
node-version: 18 | ||
|
||
- run: yarn install | ||
- uses: pnpm/action-setup@v4 | ||
with: | ||
version: 9 | ||
|
||
- run: pnpm install | ||
|
||
- run: yarn build | ||
- run: pnpm build | ||
|
||
- run: yarn lint | ||
- run: pnpm lint | ||
if: ${{ matrix.node-env == 'development' }} | ||
|
||
- run: yarn test | ||
- run: pnpm test | ||
if: ${{ matrix.node-env == 'development' }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.