forked from elwayman02/ember-scroll-modifiers
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add push dist to allow direct testing of addon on github
- Loading branch information
Showing
3 changed files
with
56 additions
and
20 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Build and Assert Assets Exists | ||
description: Build the package and assert that file contents exist as we expect | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Build and Assert Output | ||
shell: bash | ||
run: |- | ||
echo ' | ||
target: ember-scroll-modifiers/ | ||
setup: | ||
run: pnpm build | ||
cwd: ./ember-scroll-modifiers | ||
expect: | | ||
dist/index.mjs | ||
dist/index.mjs.map | ||
declarations/index.d.ts | ||
' >> assert-contents.config.yml | ||
npx assert-folder-contents | ||
- name: Upload dist assets to cache | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: dist | ||
path: ${{ env.dist }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: Download built package from cache | ||
description: Download built package from cache | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Download built package from cache | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: dist | ||
path: ${{ env.dist }} |
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