From 157e2b59267341427b680e53f7cfaf1d63acda3a Mon Sep 17 00:00:00 2001 From: Kevin Chappell Date: Mon, 27 May 2024 17:18:24 -0700 Subject: [PATCH] fix: update publish action and deps --- .github/workflows/publish.yaml | 8 ++++++-- package.json | 4 ++-- pnpm-lock.yaml | 4 ++-- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index ea8795b..0deede4 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -5,6 +5,10 @@ on: branches: - master +permissions: + packages: write + contents: write + jobs: build: env: @@ -27,7 +31,7 @@ jobs: - name: Publish if: success() env: - GH_TOKEN: ${{ secrets.GH_TOKEN }} - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: npx semantic-release diff --git a/package.json b/package.json index 8917fd4..74a0ad9 100644 --- a/package.json +++ b/package.json @@ -40,8 +40,8 @@ "@commitlint/config-angular": "^19.1.0", "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", - "@semantic-release/npm": "^12.0.0", - "semantic-release": "^23.0.5" + "@semantic-release/npm": "^12.0.1", + "semantic-release": "^23.1.1" }, "release": { "branch": "master", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 952f867..5585dcb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -28,10 +28,10 @@ importers: specifier: ^10.0.1 version: 10.0.1(semantic-release@23.1.1(typescript@5.4.5)) '@semantic-release/npm': - specifier: ^12.0.0 + specifier: ^12.0.1 version: 12.0.1(semantic-release@23.1.1(typescript@5.4.5)) semantic-release: - specifier: ^23.0.5 + specifier: ^23.1.1 version: 23.1.1(typescript@5.4.5) packages: