Skip to content

Commit

Permalink
Add release-please github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pkissling committed Jun 20, 2024
1 parent 374588a commit c210d6a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---

name: Release please

on:
push:
branches:
- master

permissions:
contents: write
pull-requests: write

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
with:
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
release-type: node
5 changes: 0 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Make slug values available
uses: gacts/github-slug@v1
id: slug

- name: Build the file
run: |
cd /home/runner/work/clock-weather-card/clock-weather-card
yarn install
yarn version --no-git-tag-version --new-version ${{ steps.slug.outputs.version }}
yarn build
- name: Upload zip to release
Expand Down

0 comments on commit c210d6a

Please sign in to comment.