diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4b6c5d4..a2766b1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: steps: - uses: actions/setup-node@v2 with: - node-version: '14' + node-version-file: 'package.json' - uses: actions/checkout@v2 - run: | diff --git a/README.md b/README.md index fe95d8b..5644b84 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,15 @@ Break screen channels for displaying and reacting to donations and donation totals during mainline Games Done Quick and Frame Fatales broadcasts. +It is recommended to use `corepack` if it's available in your Node.js installation. + +- Check if it is available with `corepack --version` +- Enable it with `corepack enable npm yarn pnpm`. + ## Requirements - Node v14 +- npm@6.x.x While other Node versions may work for this project, we use and deploy against Node v14 due to some dependencies of our current layout system (Pratchett). @@ -40,4 +46,4 @@ Designed & developed by [Support Class](https://supportclass.net) - [Chris Hanel](https://twitter.com/ChrisHanel) - [Dillon Pentz](https://twitter.com/Dillon_Pentz) -- [Melanie Arnold](https://github.com/einalem4) \ No newline at end of file +- [Melanie Arnold](https://github.com/einalem4) diff --git a/package.json b/package.json index 6d92522..af3eb3b 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,11 @@ "description": "Donation Total Channels for GDQ Broadcasts", "author": "", "license": "Apache-2.0", + "packageManager": "npm@6.14.18", + "engines": { + "node": "^14.19.0", + "npm": "6" + }, "files": [ "src/", "tsconfig.json"