mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
build(web): use pnpm from corepack (#935)
* feat(web): use pnpm packageManager on package.json * build(web): add frozen-lockfile to Makefile * build(docker): use the same node version as Docker image * build(docker): enable corepack * build(makefile): use --dir instead of cd for pnpm
This commit is contained in:
parent
8925266104
commit
1f76aa38f4
4 changed files with 16 additions and 11 deletions
16
.github/workflows/release.yml
vendored
16
.github/workflows/release.yml
vendored
|
@ -23,15 +23,19 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: 8
|
||||
|
||||
- name: Set up Node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
cache: 'pnpm'
|
||||
node-version: '18.7.0'
|
||||
|
||||
- name: Set up corepack
|
||||
run: corepack enable
|
||||
|
||||
# It can not be done before enable corepack
|
||||
- name: Set up cache
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
cache: pnpm
|
||||
cache-dependency-path: web/pnpm-lock.yaml
|
||||
|
||||
- name: Fetch web dependencies
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue