diff options
author | MCMXC <16797721+mcmxcdev@users.noreply.github.com> | 2023-07-26 12:19:56 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-26 23:49:56 +0530 |
commit | 11c319e98befda964ea04613650945feff1eaae0 (patch) | |
tree | c9d5ed0c1e3ee4e18f02bf6eee35f033d1f0590e /package.json | |
parent | chore: silence deprecated version and unmet peer dependency warnings (diff) | |
download | ferdium-app-11c319e98befda964ea04613650945feff1eaae0.tar.gz ferdium-app-11c319e98befda964ea04613650945feff1eaae0.tar.zst ferdium-app-11c319e98befda964ea04613650945feff1eaae0.zip |
ci: modernize github actions (#1287)
- use `ubuntu-22.04` runner instead of `ubuntu-20.04`
- use `windows-2022` runner instead of `windows-2019`
- use `pnpm/action-setup` instead of handling `pnpm install` manually
- use pnpm-lock.yaml as caching key for actions/cache instead of inexistent package-lock.json
- define `packageManager` config option in `package.json` which is read by `pnpm/action-setup`
---------
Co-authored-by: Vijay A <vraravam@users.noreply.github.com>
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json index bbd6074b9..a1c454844 100644 --- a/package.json +++ b/package.json | |||
@@ -21,6 +21,7 @@ | |||
21 | "node": "18.15.0", | 21 | "node": "18.15.0", |
22 | "pnpm": "8.6.2" | 22 | "pnpm": "8.6.2" |
23 | }, | 23 | }, |
24 | "packageManager": "pnpm@8.6.2", | ||
24 | "scripts": { | 25 | "scripts": { |
25 | "prepare": "is-ci || husky install", | 26 | "prepare": "is-ci || husky install", |
26 | "start": "electron ./build", | 27 | "start": "electron ./build", |