From e5d1b8d68b517a51ecfe651f3a9bd01fd49c2112 Mon Sep 17 00:00:00 2001 From: rharkor Date: Tue, 26 Sep 2023 19:07:21 +0200 Subject: [PATCH] fix: runtime --- .github/workflows/release.yml | 2 +- scripts/runtime.ts | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6132b410..de9f1dfe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ jobs: with: fetch-depth: 0 - name: Install bun - uses: oven-sh/setup-bun@v1 + uses: oven-sh/setup-bun@v1 - name: Install dependencies run: bun install --frozen-lockfile - name: Verify the integrity of provenance attestations and registry signatures for installed dependencies diff --git a/scripts/runtime.ts b/scripts/runtime.ts index 6d4a22d6..d043e6ab 100644 --- a/scripts/runtime.ts +++ b/scripts/runtime.ts @@ -130,17 +130,17 @@ const basicFiles = [ with: node-version: "lts/*"`, ` - name: Install bun - uses: oven-sh/setup-bun@v1` + uses: oven-sh/setup-bun@v1` ) } else if (oldRuntime.npm === "bun" && newRuntime.npm === "npm") { content = content.replaceAll(`${oldRuntime.npm} install --frozen-lockfile`, `${newRuntime.npm} ci`) content = content.replaceAll( ` - name: Install bun - uses: oven-sh/setup-bun@v1`, + uses: oven-sh/setup-bun@v1`, ` - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version: "lts/*"` + uses: actions/setup-node@v3 + with: + node-version: "lts/*"` ) } return content.replaceAll(`${oldRuntime.npx} `, `${newRuntime.npx} `)