Skip to content

Commit

Permalink
Merge pull request #27 from hotosm/ci/fix/frontend_test
Browse files Browse the repository at this point in the history
Fix Clone stage in CI
  • Loading branch information
nischalstha9 authored Jul 4, 2024
2 parents a3e8fe5 + eaa628d commit 24a45aa
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_deploy_DTM_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Clone repository
uses: actions/checkout@v3
with:
ref: ${{ github.ref_name }}
ref: ${{ github.ref }}

- name: Setup AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_and_deploy_DTM_frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
name: ${{ github.ref_name }}
steps:
- name: Clone repository
uses: actions/checkout@v4
uses: actions/checkout@v3
with:
ref: ${{ github.ref_name }}
ref: ${{ github.ref }}

- name: Use Node.js 19.x
uses: actions/setup-node@v1
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/migrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ jobs:
environment:
name: ${{ github.ref_name }}
steps:
- name: Checkout repository
- name: Clone repository
uses: actions/checkout@v3
with:
ref: ${{ github.ref }}

- name: Setup AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ jobs:
name: Code Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Clone repository
uses: actions/checkout@v3
with:
ref: ${{ github.ref }}

- name: Use Node.js 19.x
uses: actions/setup-node@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
name: ${{ github.ref_name }}
steps:
- name: Clone repository
uses: actions/checkout@v4
uses: actions/checkout@v3
with:
ref: ${{ github.ref_name }}
ref: ${{ github.ref }}

- name: Use Node.js 19.x
uses: actions/setup-node@v1
Expand Down

0 comments on commit 24a45aa

Please sign in to comment.