Skip to content

Commit

Permalink
chore: migrate to pnpm & update dependencies (#115)
Browse files Browse the repository at this point in the history
* chore: migrate to pnpm

* chore: update dependencies

* chore: fix coverage

* chore: update pnpm lock

* chore: nvmrc - update node
  • Loading branch information
fratzinger authored Apr 12, 2024
1 parent b8d7c15 commit 5c7a3ce
Show file tree
Hide file tree
Showing 9 changed files with 9,601 additions and 26,025 deletions.
35 changes: 22 additions & 13 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,39 +10,48 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
node-version: [18.x, 20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm i
- run: npm run test
- run: pnpm i
- run: pnpm run test

coverage:
name: coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: "18"
- run: npm i
- run: pnpm i
- uses: paambaati/codeclimate-action@v3.2.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageCommand: npm run coverage
coverageCommand: pnpm run coverage

build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: "18"
- run: npm i
- run: npm run build
- run: pnpm i
- run: pnpm run build
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16.13.1
v20.12.2
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 Frederik Schmatz
Copyright (c) 2024 Frederik Schmatz

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,5 @@ For more information on all the things you can do, visit [FeathersJS](http://doc
## License

Licensed under the [MIT license](LICENSE).

<a href="https://www.netlify.com"> <img src="https://www.netlify.com/v3/img/components/netlify-color-accent.svg" alt="Deploys by Netlify" /> </a>
2 changes: 1 addition & 1 deletion docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default defineConfig({
],
footer: {
message: "Released under the MIT License.",
copyright: "Copyright © 2020-present Frederik Schmatz",
copyright: "Copyright © 2020-present Frederik Schmatz<br />This site is powered by Netlify",
},
algolia: {
appId: "XJKV0V1N7U",
Expand Down
Loading

0 comments on commit 5c7a3ce

Please sign in to comment.