Skip to content

Commit

Permalink
chore: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Badisi committed Jun 7, 2024
1 parent a82c5cb commit 75888ab
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 30 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/ci_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,11 @@ env:

jobs:
ci_release:
runs-on: ubuntu-latest
steps:
- name: Release
uses: dsi-hug/action@v1
env:
NODE_AUTH_TOKEN: ${{ secrets.DSI_HUG_NPM_TOKEN }}
with:
working-directory: 'projects/${{ inputs.package }}'
dry-run: ${{ inputs.dry-run }}
release: true
uses: dsi-hug/action/.github/workflows/action.yml@v1
secrets:
NPM_TOKEN: ${{ secrets.DSI_HUG_NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.DSI_HUG_BOT_GITHUB_TOKEN }}
with:
working-directory: 'projects/${{ inputs.package }}'
dry-run: ${{ inputs.dry-run }}
release: true
8 changes: 4 additions & 4 deletions .github/workflows/ci_test_core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ concurrency:

jobs:
ci_test_core:
uses: dsi-hug/action@v1
uses: dsi-hug/action/.github/workflows/action.yml@v1
with:
working-directory: projects/core
runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
node-versions: '[18, 20]'
working-directory: projects/core
runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
node-versions: '[18, 20]'
13 changes: 5 additions & 8 deletions .github/workflows/ci_test_list-loader.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,8 @@ concurrency:

jobs:
ci_test_list-loader:
runs-on: ubuntu-latest
steps:
- name: Test
uses: dsi-hug/action@v1
with:
working-directory: projects/list-loader
runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
node-versions: '[18, 20]'
uses: dsi-hug/action/.github/workflows/action.yml@v1
with:
working-directory: projects/list-loader
runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
node-versions: '[18, 20]'
13 changes: 5 additions & 8 deletions .github/workflows/ci_test_message-box.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,8 @@ concurrency:

jobs:
ci_test_message-box:
runs-on: ubuntu-latest
steps:
- name: Test
uses: dsi-hug/action@v1
with:
working-directory: projects/message-box
runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
node-versions: '[18, 20]'
uses: dsi-hug/action/.github/workflows/action.yml@v1
with:
working-directory: projects/message-box
runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
node-versions: '[18, 20]'

0 comments on commit 75888ab

Please sign in to comment.