Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add publish to the release workflow #408

Merged
merged 1 commit into from
Feb 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading