Skip to content

Commit

Permalink
chore: setup please-release
Browse files Browse the repository at this point in the history
  • Loading branch information
Cory Dyer committed Aug 28, 2024
1 parent 2aed6cc commit d5ca680
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
on:
release:
types: [published]
name: release
push:
branches:
- main

permissions:
contents: write
pull-requests: write

name: release-please

jobs:
release-please:
runs-on: ubuntu-latest
Expand All @@ -11,11 +18,13 @@ jobs:
- 'https://registry.npmjs.org'
- 'https://npm.pkg.github.com'
steps:
- uses: googleapis/release-please-action@v4
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: ${{ matrix.registry }}
token: ${{ secrets.GITHUB_TOKEN }}
- run: npm ci
- run: npm publish --access public
env:
Expand Down

0 comments on commit d5ca680

Please sign in to comment.