diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 8fb54616..27d56a17 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -1,20 +1,8 @@ -name: Build and release - -on: - push: - branches: - - main - -permissions: - # Grant Permissions to the GH Token to capture attestation information from the GH agent - id-token: write - jobs: release: - name: Release runs-on: ubuntu-latest environment: release - + name: Release steps: - uses: pnpm/action-setup@v4 with: @@ -33,5 +21,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - NPM_CONFIG_PROVENANCE: true - +name: Build and release +on: + push: + branches: + - main