From a4444c1143df2add829147395ad1722433faaf59 Mon Sep 17 00:00:00 2001 From: Gabe Rodriguez Date: Tue, 16 Apr 2024 22:17:50 +0200 Subject: [PATCH] Add working dir for changeset action --- .github/workflows/npm-publish.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 040468d..4c18d71 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -11,6 +11,8 @@ jobs: publish: name: Publish to npm runs-on: ubuntu-latest + permissions: + contents: write defaults: run: working-directory: npm @@ -34,6 +36,7 @@ jobs: uses: changesets/action@v1 with: publish: pnpm changeset:publish + cwd: "./npm" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}