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 }}