Merge pull request #201 from jmurphyau/put-built-npm-package-contents… #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .github/workflows/push-dist.yml | |
name: Push dist | |
on: | |
push: | |
branches: | |
- main | |
- master | |
jobs: | |
push-dist: | |
name: "Push dist" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Install Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
cache: pnpm | |
- name: Install Dependencies | |
run: pnpm install --frozen-lockfile | |
- uses: kategengler/[email protected] | |
with: | |
branch: ${{ github.head_ref || github.ref_name }}-dist | |
working-directory: packages/ember-truth-helpers | |
token: ${{ secrets.GITHUB_TOKEN }} |