mirror of
https://github.com/bastienwirtz/homer.git
synced 2026-01-23 02:15:09 +00:00
Switch package manager to pnpm
This commit is contained in:
parent
8326eba25f
commit
0740fb31b5
8 changed files with 4455 additions and 4015 deletions
12
.github/workflows/integration.yml
vendored
12
.github/workflows/integration.yml
vendored
|
|
@ -23,16 +23,20 @@ jobs:
|
|||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
-
|
||||
name: pnpm setup
|
||||
uses: pnpm/action-setup@v3
|
||||
with:
|
||||
version: 8
|
||||
-
|
||||
name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: 'yarn'
|
||||
cache: 'pnpm'
|
||||
-
|
||||
name: install dependencies
|
||||
run: yarn install --frozen-lockfile --non-interactive
|
||||
run: pnpm install --frozen-lockfile
|
||||
-
|
||||
name: Check code style & potentential issues
|
||||
run: yarn lint
|
||||
|
||||
run: pnpm lint
|
||||
|
|
|
|||
15
.github/workflows/release.yml
vendored
15
.github/workflows/release.yml
vendored
|
|
@ -13,11 +13,22 @@ jobs:
|
|||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
-
|
||||
name: pnpm setup
|
||||
uses: pnpm/action-setup@v3
|
||||
with:
|
||||
version: 8
|
||||
-
|
||||
name: Use Node.js 20
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
cache: 'pnpm'
|
||||
-
|
||||
name: Build project
|
||||
run: |
|
||||
yarn install --frozen-lockfile --non-interactive
|
||||
yarn build
|
||||
pnpm install --frozen-lockfile
|
||||
pnpm build
|
||||
-
|
||||
name: Create artifact
|
||||
working-directory: "dist"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue