Skip to content

Commit

Permalink
Publish @krmx/base package from GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
simonkarman committed Oct 9, 2024
1 parent 139f0f2 commit 0886a0b
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,14 @@ defaults:

jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
strategy:
max-parallel: 1 # has to be 1 (one) as there are dependencies between the published packages
matrix:
package: [base, server]
runs-on: ubuntu-latest
package: [ base, server ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand Down Expand Up @@ -69,5 +72,7 @@ jobs:
npm run precommit
# Publish the package
# npm publish --access public
if [ "${{ matrix.package }}" = "base" ]; then
npm publish --provenance --access public
fi
fi

0 comments on commit 0886a0b

Please sign in to comment.