Skip to content

Commit

Permalink
Ensure compile is run before publish
Browse files Browse the repository at this point in the history
  • Loading branch information
EmandM committed May 21, 2021
1 parent b980a4f commit 3aaaafe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Package
name: Publish Packages
on:
release:
types: [created]
Expand All @@ -25,6 +25,7 @@ jobs:
node-version: '12'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run compile
# Publish to npm
- run: npm publish --access public
env:
Expand All @@ -41,6 +42,7 @@ jobs:
scope: '@emandm'
# Publish to GitHub Packages
- run: npm ci
- run: npm run compile

- name: Update Package Name
run: |
Expand Down

0 comments on commit 3aaaafe

Please sign in to comment.