diff --git a/.github/actions/setup-env.yml b/.github/actions/setup-env.yml index 91b5e47c..3e695525 100644 --- a/.github/actions/setup-env.yml +++ b/.github/actions/setup-env.yml @@ -7,8 +7,6 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 with: node-version: 20 diff --git a/.github/workflows/call-run-individual-tests.yml b/.github/workflows/call-run-individual-tests.yml index 43afab55..fdd77713 100644 --- a/.github/workflows/call-run-individual-tests.yml +++ b/.github/workflows/call-run-individual-tests.yml @@ -22,6 +22,8 @@ jobs: PATRON_PASSWORD: ${{ secrets.PATRON_PASSWORD }} steps: + - uses: actions/checkout@v4 + - name: Setup test environment uses: ./.github/actions/setup-env diff --git a/.github/workflows/call-run-tests.yml b/.github/workflows/call-run-tests.yml index 2cfe6f69..3e9691b5 100644 --- a/.github/workflows/call-run-tests.yml +++ b/.github/workflows/call-run-tests.yml @@ -7,6 +7,8 @@ jobs: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 + - name: Setup test environment uses: ./.github/actions/setup-env diff --git a/.github/workflows/manual-trigger-test.yml b/.github/workflows/manual-trigger-test.yml index b9abca9a..6ebbb80d 100644 --- a/.github/workflows/manual-trigger-test.yml +++ b/.github/workflows/manual-trigger-test.yml @@ -12,14 +12,18 @@ on: description: 'CLI command you want to execute in the pipeline' jobs: - - name: Setup test environment + manual: + steps: + - uses: actions/checkout@v4 + + - name: Setup test environment uses: ./.github/actions/setup-env - - shell: bash - env: - ARCHIVE_EMAIL: ${{ secrets.ARCHIVE_EMAIL }} - ARCHIVE_PASSWORD: ${{ secrets.ARCHIVE_PASSWORD }} - PATRON_EMAIL: ${{ secrets.PATRON_EMAIL }} - PATRON_PASSWORD: ${{ secrets.PATRON_PASSWORD }} - run: | - ${{ github.event.inputs.input_command }} + - shell: bash + env: + ARCHIVE_EMAIL: ${{ secrets.ARCHIVE_EMAIL }} + ARCHIVE_PASSWORD: ${{ secrets.ARCHIVE_PASSWORD }} + PATRON_EMAIL: ${{ secrets.PATRON_EMAIL }} + PATRON_PASSWORD: ${{ secrets.PATRON_PASSWORD }} + run: | + ${{ github.event.inputs.input_command }}