Skip to content

Commit 094377c

Browse files
committed
Add build to publish
1 parent 5e1be7c commit 094377c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,15 @@ jobs:
4949
node-version: 18
5050
# This creates an .npmrc that reads the NODE_AUTH_TOKEN environment variable
5151
registry-url: 'https://registry.npmjs.org'
52-
52+
5353
- uses: pnpm/action-setup@v2
5454
with:
5555
version: 8
5656
- run: pnpm install --frozen-lockfile
57+
- run: pnpm build
5758
- name: npm publish
5859
run: pnpm release-plan publish
59-
60+
6061
env:
6162
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}
6263
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

ember-data-resources/rollup.config.mjs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ const addon = new Addon({
88
});
99

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

1513
plugins: [

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
"license": "MIT",
77
"author": "NullVoxPopuli",
88
"scripts": {
9+
"prepare": "pnpm --filter 'ember-data-resources' build",
910
"_start:docs": "pnpm --filter docs-app start",
10-
"_start:package": "pnpm --filter 'ember-primitives' start --no-watch.clearScreen",
11+
"_start:package": "pnpm --filter 'ember-data-resources' start --no-watch.clearScreen",
1112
"_start:tests": "pnpm --filter test-app start",
1213
"build": "turbo run build --output-logs errors-only",
1314
"lint": "turbo run _:lint --output-logs errors-only",

0 commit comments

Comments
 (0)