Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.release-please-manifest.json @eslint/eslint-tsc
.github/workflows/release-please.yml @eslint/eslint-tsc
8 changes: 6 additions & 2 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ on:
push:
branches:
- main

name: release-please
jobs:
release-please:
Expand All @@ -22,12 +23,15 @@ jobs:
registry-url: https://registry.npmjs.org
if: ${{ steps.release.outputs.release_created }}

# npm 11.5.1 or later is required so update to latest to be sure
- name: Update npm
run: npm install -g npm@latest
if: ${{ steps.release.outputs.release_created }}

- name: Publish to npm
run: |
npm install
npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
if: ${{ steps.release.outputs.release_created }}

- name: Publish to JSR
Expand Down