Skip to content

Commit

Permalink
ci: upgrade to dsi-hug action v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Badisi committed Jul 10, 2024
1 parent 94ac0a1 commit 09eb7f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/ci_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,11 @@ on:

jobs:
ci_tests:
runs-on: 'ubuntu-latest'
steps:
- uses: peter-evans/repository-dispatch@v3
with:
event-type: ci_tests
uses: ./.github/workflows/ci_tests.yml

ci_release:
needs: ci_tests
uses: dsi-hug/action/.github/workflows/action.yml@v1
uses: dsi-hug/actions/.github/workflows/action.yml@v2
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
with:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: Run tests

on:
workflow_dispatch:
repository_dispatch:
types: [ci_tests]
workflow_call:
push:
branches:
- '**'
Expand All @@ -16,7 +15,7 @@ concurrency:

jobs:
ci_tests:
uses: dsi-hug/action/.github/workflows/action.yml@v1
uses: dsi-hug/actions/.github/workflows/action.yml@v2
with:
runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
node-versions: '[18, 20]'
Expand Down

0 comments on commit 09eb7f0

Please sign in to comment.