Skip to content

Commit

Permalink
Build before publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Turrell-Croft committed May 25, 2023
1 parent 2bfbe18 commit 2b307f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
with:
node-version: 18
- run: npm ci
- run: npx ng build
- run: npx ng test --no-watch --no-progress --browsers=ChromeHeadless

publish-npm:
Expand All @@ -30,6 +29,7 @@ jobs:
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: |
npx ng build
cd dist/ngx-unsplash/
npm publish --access public
env:
Expand Down

0 comments on commit 2b307f4

Please sign in to comment.