There was an error while loading. Please reload this page.
1 parent 08825b1 commit 08170d1Copy full SHA for 08170d1
1 file changed
.github/workflows/ci.yml
@@ -48,7 +48,7 @@ jobs:
48
runs-on: ubuntu-latest
49
permissions: { id-token: write, contents: read }
50
needs: tests
51
- if: contains('refs/heads/v2', github.ref) && github.event_name == 'push'
+ if: github.ref == 'refs/heads/v2' && github.event_name == 'push' && github.repository == 'nitrojs/nitro'
52
steps:
53
- uses: actions/checkout@v6
54
with: { fetch-depth: 0 }
@@ -57,4 +57,4 @@ jobs:
57
with: { node-version: lts/*, cache: "pnpm" }
58
- run: pnpm install
59
- run: pnpm changelogen --bump --canary nightly
60
- - run: npm i -g npm@latest && npm publish --tag latest
+ - run: npm i -g npm@latest && npm publish --provenance --access public --tag latest
0 commit comments