mirror of
https://github.com/bastienwirtz/homer.git
synced 2026-05-07 16:36:00 +02:00
Switch package manager to pnpm
This commit is contained in:
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"
|
||||
|
||||
Reference in New Issue
Block a user