mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
chore(build): change to pnpm from yarn (#919)
* flip to npm * try pnpm * nothing good started with p anyway * I want to go outside. * Split out deps and build * 30 seconds on the fetch, reintroduce the p * lock it in * flip lock file to pnpm * nuke yarn.lock * kirby no longer has yarn * flip goreleaser to v4, was using node12. * snapshots don't have tags * Update README.md * pin offline dockerfile * Delete .yarnrc.yml * Delete web/.yarn directory * fix: update scripts --------- Co-authored-by: ze0s <ze0s@riseup.net>
This commit is contained in:
parent
ac61334f93
commit
762a0bb36b
8 changed files with 5248 additions and 8137 deletions
25
.github/workflows/release.yml
vendored
25
.github/workflows/release.yml
vendored
|
@ -23,17 +23,24 @@ 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: 'yarn'
|
||||
cache-dependency-path: web/yarn.lock
|
||||
cache: 'pnpm'
|
||||
cache-dependency-path: web/pnpm-lock.yaml
|
||||
|
||||
- name: Build web
|
||||
run: |
|
||||
cd web && yarn install --frozen-lockfile
|
||||
CI= yarn build
|
||||
- name: Fetch web dependencies
|
||||
working-directory: web
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Build web frontend
|
||||
working-directory: web
|
||||
run: CI= pnpm run build
|
||||
|
||||
- name: Upload web production build
|
||||
uses: actions/upload-artifact@v3
|
||||
|
@ -85,11 +92,11 @@ jobs:
|
|||
cache: true
|
||||
|
||||
- name: Run GoReleaser build
|
||||
uses: goreleaser/goreleaser-action@v2
|
||||
uses: goreleaser/goreleaser-action@v4
|
||||
with:
|
||||
distribution: goreleaser
|
||||
version: latest
|
||||
args: release --clean --skip-publish
|
||||
args: release --clean --skip-validate --skip-publish
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
@ -124,7 +131,7 @@ jobs:
|
|||
cache: true
|
||||
|
||||
- name: Run GoReleaser build and publish tags
|
||||
uses: goreleaser/goreleaser-action@v3
|
||||
uses: goreleaser/goreleaser-action@v4
|
||||
with:
|
||||
distribution: goreleaser
|
||||
version: latest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue