Skip to content

Commit

Permalink
fix: build and publish dist
Browse files Browse the repository at this point in the history
  • Loading branch information
rvagg committed May 27, 2021
1 parent f346f6a commit 05a89ba
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ jobs:
os: [macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Repository
- name: Checkout
uses: actions/[email protected]
- name: Use Node.js ${{ matrix.node }}
uses: actions/[email protected]
with:
node-version: ${{ matrix.node }}
- name: Install Dependencies
- name: Install dependencies
run: |
npm install --no-progress --no-package-lock
- name: Run tests
Expand All @@ -35,6 +35,11 @@ jobs:
uses: actions/[email protected]
with:
node-version: 14
- name: Install dependencies
run: |
npm install --no-progress --no-package-lock --no-save
- name: Build
npm run build
- name: Install plugins
run: |
npm install \
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@
}],
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
["@semantic-release/npm", {
"pkgRoot": "dist"
}],
"@semantic-release/github",
"@semantic-release/git"
]
Expand Down

0 comments on commit 05a89ba

Please sign in to comment.