diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2024-04-22 19:55:25 +0200 |
---|---|---|
committer | Bastien Wirtz <bastien.wirtz@gmail.com> | 2024-04-22 19:55:25 +0200 |
commit | 0740fb31b530e125b1a64ba33bf7428f765c541d (patch) | |
tree | 7c37a23975cf0ebec1ceeb4f8dd51584181d689c /.github/workflows/release.yml | |
parent | 8326eba25f3552496bcca644a4197c9533077afa (diff) | |
download | homer-0740fb31b530e125b1a64ba33bf7428f765c541d.tar.gz homer-0740fb31b530e125b1a64ba33bf7428f765c541d.tar.zst homer-0740fb31b530e125b1a64ba33bf7428f765c541d.zip |
Switch package manager to pnpm
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r-- | .github/workflows/release.yml | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 44a128d..3981172 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml | |||
@@ -14,10 +14,21 @@ jobs: | |||
14 | name: Checkout | 14 | name: Checkout |
15 | uses: actions/checkout@v4 | 15 | uses: actions/checkout@v4 |
16 | - | 16 | - |
17 | name: pnpm setup | ||
18 | uses: pnpm/action-setup@v3 | ||
19 | with: | ||
20 | version: 8 | ||
21 | - | ||
22 | name: Use Node.js 20 | ||
23 | uses: actions/setup-node@v4 | ||
24 | with: | ||
25 | node-version: 20 | ||
26 | cache: 'pnpm' | ||
27 | - | ||
17 | name: Build project | 28 | name: Build project |
18 | run: | | 29 | run: | |
19 | yarn install --frozen-lockfile --non-interactive | 30 | pnpm install --frozen-lockfile |
20 | yarn build | 31 | pnpm build |
21 | - | 32 | - |
22 | name: Create artifact | 33 | name: Create artifact |
23 | working-directory: "dist" | 34 | working-directory: "dist" |