From a1a66fe13539eb5e76c9cb6ac574e35da421636d Mon Sep 17 00:00:00 2001 From: Ghustavh Ehm Date: Sat, 16 Sep 2023 18:49:11 +0200 Subject: [PATCH] fix: update release actions --- .github/workflows/cd.release.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.release.yml b/.github/workflows/cd.release.yml index eb1d0db..f508103 100755 --- a/.github/workflows/cd.release.yml +++ b/.github/workflows/cd.release.yml @@ -5,11 +5,16 @@ on: push: branches: - master + +permissions: + contents: write + pull-requests: write + jobs: release-please: runs-on: ubuntu-latest steps: - - uses: GoogleCloudPlatform/release-please-action@v2 + - uses: google-github-actions/release-please-action@v3 id: release with: token: ${{ secrets.GITHUB_TOKEN }} @@ -22,7 +27,7 @@ jobs: if: ${{ steps.release.outputs.release_created }} - uses: actions/setup-node@v1 with: - node-version: 18 + node-version: 12 registry-url: 'https://registry.npmjs.org' if: ${{ steps.release.outputs.release_created }} # if you are using Yarn, substitute the command below with `yarn install --frozen-lockfile`