Skip to content

Commit

Permalink
Merge pull request #9 from chain4travel/ci
Browse files Browse the repository at this point in the history
CI: add workflow_dispatch checkout
  • Loading branch information
c4t-ag authored Oct 26, 2022
2 parents bf2790a + 35c227b commit 3883166
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,16 @@ jobs:
matrix:
node-version: [16]
steps:
- uses: actions/checkout@v2
- name: Check out chain4travel/caminojs
uses: actions/checkout@v2
with:
repository: 'chain4travel/caminojs'
- name: Check out ${{ github.event.inputs.caminojsRepo }} ${{ github.event.inputs.caminojsBranch }}
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: actions/checkout@v2
with:
repository: ${{ github.event.inputs.caminojsRepo }}
ref: ${{ github.event.inputs.caminojsBranch }}
- uses: actions/setup-node@v2
with:
cache: yarn
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,16 @@ jobs:
e2e:
runs-on: ubuntu-18.04
steps:
- name: Checkout CaminoJS
- name: Check out chain4travel/caminojs
uses: actions/checkout@v2
with:
repository: 'chain4travel/caminojs'
- name: Check out ${{ github.event.inputs.caminojsRepo }} ${{ github.event.inputs.caminojsBranch }}
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: actions/checkout@v2
with:
repository: ${{ github.event.inputs.caminojsRepo }}
ref: ${{ github.event.inputs.caminojsBranch }}
- name: Install dependencies
run: sudo apt update && sudo apt install zstd git build-essential nodejs -y
- name: Install NodeJS dependencies
Expand Down

0 comments on commit 3883166

Please sign in to comment.