Skip to content

Merge pull request #986 from ember-cli/add-modules-api #40

Merge pull request #986 from ember-cli/add-modules-api

Merge pull request #986 from ember-cli/add-modules-api #40

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
- uses: actions/cache@v3
id: npm-cache
with:
path: '**/node_modules'
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
- name: npm ci
if: steps.npm-cache.outputs.cache-hit != 'true'
run: npm ci
- uses: kategengler/[email protected]
with:
branch: dist
token: ${{ secrets.GITHUB_TOKEN }}
working-directory: ./addon/