Skip to content

Commit

Permalink
Add workflow to publish all commits to branch so the v2 resultant
Browse files Browse the repository at this point in the history
publish artifact can be easily inspected
  • Loading branch information
kategengler committed Aug 16, 2023
1 parent 2e80d07 commit 8463aac
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/publish-to-branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Publish to branch

on:
push:
branches:
- main
- master

jobs:
push-dist:
name: Push dist to branch to see built contents
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: volta-cli/action@v4
with:
node-version: 16.x

- name: Install Dependencies
run: yarn install --frozen-lockfile

- uses: kategengler/put-built-npm-package-contents-on-branch@v1.0.0
with:
branch: dist
token: ${{ secrets.GITHUB_TOKEN }}
working-directory: ./addon/

0 comments on commit 8463aac

Please sign in to comment.