diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7f104df..3313826 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -64,7 +64,12 @@ jobs: sudo apt-get install -y libwebkit2gtk-4.1-dev libssl-dev libayatana-appindicator3-dev librsvg2-dev patchelf - name: Install frontend dependencies - run: pnpm install --frozen-lockfile + run: | + if [ -f pnpm-lock.yaml ]; then + pnpm install --frozen-lockfile + else + pnpm install + fi - name: Generate changelog run: pnpm generate-changelog @@ -122,6 +127,14 @@ jobs: node-version: '20' cache: 'pnpm' + - name: Install frontend dependencies + run: | + if [ -f pnpm-lock.yaml ]; then + pnpm install --frozen-lockfile + else + pnpm install + fi + - name: Get version id: get_version run: |