From 514e4a09f9521738e5b817a73fae862b868fa343 Mon Sep 17 00:00:00 2001 From: Aleksei Gusev Date: Tue, 3 Dec 2024 11:55:39 +0200 Subject: [PATCH] fix: Minor improvements to the release process --- .github/workflows/{publish.yml => release.yml} | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) rename .github/workflows/{publish.yml => release.yml} (85%) diff --git a/.github/workflows/publish.yml b/.github/workflows/release.yml similarity index 85% rename from .github/workflows/publish.yml rename to .github/workflows/release.yml index 4af5267..1ce6ddb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/release.yml @@ -7,6 +7,7 @@ on: jobs: release: runs-on: ubuntu-latest + steps: - name: Checkout uses: actions/checkout@v3 @@ -15,9 +16,12 @@ jobs: persist-credentials: false - name: Setup Node.js environment - uses: actions/setup-node@v3.6.0 + uses: actions/setup-node@v4 with: node-version: '18' + cache: 'yarn' + cache-dependency-path: | + yarn.lock - name: Install dependencies run: yarn install @@ -31,5 +35,4 @@ jobs: - name: Release run: npx semantic-release env: - GH_TOKEN: ${{ secrets.GH_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}