Skip to content

Commit

Permalink
chore: dist auto-publish
Browse files Browse the repository at this point in the history
  • Loading branch information
AmauryD committed Dec 9, 2024
1 parent b0dd835 commit 17bd665
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/publish-dist.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "publish dist"

on:
push:
branches:
- main
- develop

jobs:
push-dist:
name: Push dist
runs-on: ubuntu-latest
permissions:
contents: write

strategy:
matrix:
apps: [ember-input, ember-input-validation, ember-ui]

steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
- name: build
run: pnpm build
- uses: kategengler/[email protected]
with:
working-directory: packages/${{ matrix.apps }}
pack-command: pnpm pack
branch: ${{ github.head_ref || github.ref_name }}-${{ matrix.apps }}-dist
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 17bd665

Please sign in to comment.