From ab753aa23ac3f1d0528e41241c7ae17829321388 Mon Sep 17 00:00:00 2001 From: Tobias Diez Date: Fri, 2 Aug 2024 23:01:38 +0200 Subject: [PATCH] chore: try to fix nightly release (#735) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### ๐Ÿ”— Linked issue ### โ“ Type of change - [ ] ๐Ÿ“– Documentation (updates to the documentation or readme) - [ ] ๐Ÿž Bug fix (a non-breaking change that fixes an issue) - [ ] ๐Ÿ‘Œ Enhancement (improving an existing functionality) - [ ] โœจ New feature (a non-breaking change that adds functionality) - [ ] ๐Ÿงน Chore (updates to the build process or auxiliary tools and libraries) - [ ] โš ๏ธ Breaking change (fix or feature that would cause existing functionality to change) ### ๐Ÿ“š Description --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e77669fc..8a869331 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,6 +17,9 @@ jobs: # Keep this in sync with the oldest Node.js version supported by the storybook node: [18, 20] os: [ubuntu-latest, windows-latest, macos-latest] + permissions: + contents: read + id-token: write steps: - name: Checkout uses: actions/checkout@v4 @@ -29,6 +32,7 @@ jobs: with: node-version: ${{ matrix.node }} cache: pnpm + registry-url: 'https://registry.npmjs.org' - name: Install dependencies run: pnpm install @@ -49,6 +53,6 @@ jobs: matrix.os == 'ubuntu-latest' && !contains(github.event.head_commit.message, '[skip-release]') && !startsWith(github.event.head_commit.message, 'docs') - run: pnpm publish --recursive --tag next --access public --report-summary --no-git-checks --force + run: pnpm publish --recursive --filter=./packages/nuxt-module --tag nightly --provenance --access public --report-summary --no-git-checks --force env: - NODE_AUTH_TOKEN: ${{secrets.NPMJS_TOKEN}} + NODE_AUTH_TOKEN: ${{ secrets.NPMJS_TOKEN }}