1
0
Fork 0
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:
Bastien Wirtz 2024-04-22 19:55:25 +02:00
parent 8326eba25f
commit 0740fb31b5
8 changed files with 4455 additions and 4015 deletions

View file

@ -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

View file

@ -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"