Skip to content

Commit

Permalink
Updated github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
andris9 committed Sep 23, 2024
1 parent f76694e commit 83dfdb8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/discord.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This is a basic workflow that is manually triggered
name: Discord
name: Notify Discord

# Controls when the action will run. Workflow runs when manually triggered using the UI or API.
on:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ permissions:
pull-requests: write
id-token: write

name: release
name: Manage Release
jobs:
release_please:
name: Create or prepare release
runs-on: ubuntu-latest
outputs:
major: ${{ steps.release.outputs.major }}
Expand All @@ -28,15 +29,18 @@ jobs:
# these if statements ensure that a publication only occurs when
# a new release is created:
if: ${{ steps.release.outputs.release_created }}

- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
if: ${{ steps.release.outputs.release_created }}

- run: npm install
if: ${{ steps.release.outputs.release_created }}

publish_docker:
name: Publish Tagged Docker Image
runs-on: ubuntu-latest
needs: release_please
if: ${{needs.release_please.outputs.release_created}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run tests
name: Run Tests

on:
push:
Expand Down

0 comments on commit 83dfdb8

Please sign in to comment.