-
-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
35 changed files
with
52 additions
and
491 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Reusable Workflow | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
node_version: | ||
type: string | ||
|
||
jobs: | ||
reusable_job: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
job_output: ${{ steps.set_output.outputs.step_output }} | ||
steps: | ||
- name: Use Node.js ${{ inputs.node_version }} | ||
uses: actions/[email protected] | ||
with: | ||
node-version: ${{ inputs.node_version }} | ||
cache: "pnpm" | ||
|
||
- run: git submodule init && git submodule update | ||
|
||
- run: cd view/qryn-view | ||
|
||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
- name: Build | ||
run: pnpm build | ||
|
||
- name: cleanup | ||
run: cd .. && mv qryn-view/packages/main/dist/* . && rm -rf qryn-view |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,10 @@ jobs: | |
if: ${{ steps.checksecrets.outputs.secretspresent }} | ||
with: | ||
node-version: 18 | ||
- name: build qryn-view | ||
uses: ./.github/workflows/build-view.yml | ||
with: | ||
node_version: 18 | ||
- name: Publish to NPM | ||
if: ${{ steps.checksecrets.outputs.secretspresent }} | ||
continue-on-error: true | ||
|
@@ -65,6 +69,10 @@ jobs: | |
fi | ||
env: | ||
SECRET: ${{ secrets.DOCKERHUB_TOKEN }} | ||
- name: build qryn-view | ||
uses: ./.github/workflows/build-view.yml | ||
with: | ||
node_version: 18 | ||
- name: Set up Docker QEMU | ||
if: ${{ steps.checkdocker.outputs.secretspresent }} | ||
uses: docker/[email protected] | ||
|
@@ -136,6 +144,10 @@ jobs: | |
fi | ||
env: | ||
SECRET: ${{ secrets.DOCKERHUB_TOKEN }} | ||
- name: build qryn-view | ||
uses: ./.github/workflows/build-view.yml | ||
with: | ||
node_version: 18 | ||
- name: Set up Docker QEMU | ||
if: ${{ steps.checkdocker.outputs.secretspresent }} | ||
uses: docker/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
[submodule "test/e2e"] | ||
path = test/e2e | ||
url = https://github.com/metrico/cloki-test.git | ||
[submodule "view/qryn-view"] | ||
path = view/qryn-view | ||
url = https://github.com/metrico/qryn-view.git |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.