Skip to content

Commit

Permalink
Merge pull request #408 from NullVoxPopuli/fix-publish-need-build
Browse files Browse the repository at this point in the history
Add publish to the release workflow
  • Loading branch information
NullVoxPopuli authored Feb 20, 2024
2 parents 5e1be7c + 094377c commit 0ce7285
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,15 @@ jobs:
node-version: 18
# This creates an .npmrc that reads the NODE_AUTH_TOKEN environment variable
registry-url: 'https://registry.npmjs.org'

- uses: pnpm/action-setup@v2
with:
version: 8
- run: pnpm install --frozen-lockfile
- run: pnpm build
- name: npm publish
run: pnpm release-plan publish

env:
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 0 additions & 2 deletions ember-data-resources/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ const addon = new Addon({
});

export default {
// This provides defaults that work well alongside `publicEntrypoints` below.
// You can augment this if you need to.
output: addon.output(),

plugins: [
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
"license": "MIT",
"author": "NullVoxPopuli",
"scripts": {
"prepare": "pnpm --filter 'ember-data-resources' build",
"_start:docs": "pnpm --filter docs-app start",
"_start:package": "pnpm --filter 'ember-primitives' start --no-watch.clearScreen",
"_start:package": "pnpm --filter 'ember-data-resources' start --no-watch.clearScreen",
"_start:tests": "pnpm --filter test-app start",
"build": "turbo run build --output-logs errors-only",
"lint": "turbo run _:lint --output-logs errors-only",
Expand Down

0 comments on commit 0ce7285

Please sign in to comment.