Skip to content
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
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jobs:
- name: Install
run: |
npm install --workspaces
# build packages synchronously to ensure sibling dependencies are built.
# @TODO - see if it's possible to do this better
# first build the one that consumed by siblings, then just build all
npm run build --workspace="@foo-software/ghost-graphql"
npm run build --workspaces --if-present
- name: Generate Schema
run: |
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ jobs:
scope: '@foo-software'
- name: Install
run: |
npm install --workspaces --include-workspace-root
npm install --workspaces
# build packages synchronously to ensure sibling dependencies are built.
# @TODO - see if it's possible to do this better
# first build the one that consumed by siblings, then just build all
npm run build --workspace="@foo-software/ghost-graphql"
npm run build --workspaces --if-present
- name: Integration Tests
run: |
cd packages/ghost-graphql-integration-tests
Expand Down
5 changes: 4 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const run = async () => {
console.log('⌛ version, git commit and push...');

// @TODO - dynamically pull from somewhere (maybe utilize conventional commits)
npm.version({ versionType: 'minor' });
npm.version({ versionType: 'major' });

git.push();
console.log('✅ version, git commit and push completed');
Expand Down
1 change: 0 additions & 1 deletion packages/ghost-graphql-integration-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "echo build",
"test": "jest"
},
"devDependencies": {
Expand Down
Loading