From 06e8f66bcb7fb3bb25c5dc966532a8e4c088cbd2 Mon Sep 17 00:00:00 2001 From: Luke <39926192+LukeWasTakenn@users.noreply.github.com> Date: Thu, 18 May 2023 13:34:44 +0200 Subject: [PATCH] ci(release): install package deps --- .github/workflows/release.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 38c0836e..c836b8d2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: Release on: push: tags: - - "v*.*.*" + - 'v*.*.*' jobs: create-release: @@ -27,8 +27,8 @@ jobs: uses: actions/setup-node@v2 with: node-version: 16.x - cache: "pnpm" - cache-dependency-path: "web/pnpm-lock.yaml" + cache: 'pnpm' + cache-dependency-path: 'web/pnpm-lock.yaml' - name: Set env run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV @@ -36,7 +36,11 @@ jobs: - name: Install dependencies run: pnpm install working-directory: web - + + - name: Install package dependencies + run: pnpm install + working-directory: package + - name: Bump package version run: pnpm version ${{ github.ref_name }} working-directory: package @@ -59,7 +63,7 @@ jobs: push: true author_name: Manifest Bumper author_email: 41898282+github-actions[bot]@users.noreply.github.com - message: "chore: bump manifest version to ${{ github.ref_name }}" + message: 'chore: bump manifest version to ${{ github.ref_name }}' - name: Update tag ref uses: EndBug/latest-tag@latest @@ -76,10 +80,10 @@ jobs: cd ./temp && zip -r ../ox_lib.zip ./ox_lib - name: Create Release - uses: "marvinpinto/action-automatic-releases@v1.2.1" + uses: 'marvinpinto/action-automatic-releases@v1.2.1' id: auto_release with: - repo_token: "${{ secrets.GITHUB_TOKEN }}" + repo_token: '${{ secrets.GITHUB_TOKEN }}' title: ${{ env.RELEASE_VERSION }} prerelease: false files: ox_lib.zip @@ -93,4 +97,4 @@ jobs: with: token: ${{ secrets.NPM_TOKEN }} package: './package/package.json' - access: 'public' \ No newline at end of file + access: 'public'