Skip to content

Commit

Permalink
chore(ci): ci upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
BilelJegham authored Jun 13, 2024
1 parent 4b90637 commit cb4f0dd
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 26 deletions.
18 changes: 9 additions & 9 deletions .github/configApiSport/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,41 +11,41 @@
"rugby": [
{
"league": 52,
"season": 2022
"season": 2024
},
{
"league": 54,
"season": 2022
"season": 2024
},
{
"league": 16,
"season": 2022
"season": 2024
},
{
"league": 69,
"season": 2023
"season": 2024
}
],
"handball": [
{
"league": 132,
"season": 2023
"season": 2024
},
{
"league": 32,
"season": 2023
"season": 2024
},
{
"league": 35,
"season": 2023
"season": 2024
},
{
"league": 29,
"season": 2023
"season": 2024
},
{
"league": 34,
"season": 2023
"season": 2024
}
]
}
Expand Down
34 changes: 27 additions & 7 deletions .github/configApiSport/football.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,51 @@
"football": [
{
"league": 66,
"season": 2023
"season": 2024
},
{
"league": 64,
"season": 2023
"season": 2024
},
{
"league": 61,
"season": 2023
"season": 2024
},
{
"league": 2,
"season": 2023
"season": 2024
},
{
"league": 525,
"season": 2023
"season": 2024
},
{
"league": 3,
"season": 2023
"season": 2024
},
{
"league": 8,
"season": 2023
"season": 2024
},
{
"league": 4,
"season": 2024
},
{
"league": 10,
"season": 2024
},
{
"league": 6110,
"season": 2024
},
{
"league": 6111,
"season": 2024
},
{
"league": 5932,
"season": 2024
}
]
}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cd_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
PROJECT_ID: ${{ secrets.PRODUCTION_PROJECT_ID }}

steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
- uses: actions/checkout@v4
- uses: actions/cache@v4
id: cache
with:
path: ~/.npm
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cd_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
STAGING_PROJECT_ID: ${{ secrets.STAGING_PROJECT_ID }}

steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
- uses: actions/checkout@v4
- uses: actions/cache@v4
id: cache
with:
path: ~/.npm
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
integration:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
- uses: actions/checkout@v4
- uses: actions/cache@v4
id: cache
with:
path: ~/.npm
Expand All @@ -29,16 +29,16 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install dependencies
uses: cypress-io/github-action@v5
uses: cypress-io/github-action@v6
with:
# just perform install
runTests: false
- name: Start server in the background
run: npm run supabase:start -- -x studio,imgproxy,inbucket,pgadmin-schema-diff,migra,postgres-meta,vector,pgbouncer,logflare
- name: Cypress run
uses: cypress-io/github-action@v5
uses: cypress-io/github-action@v6
with:
install: false
start: npm run dev:emulator
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/getmatchs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Get Matches
run: |
npx --yes api-sport-cli get-matchs -c .github/configApiSport/football.json -s matchs.football.sql -j matchs.football.json -u api_id
Expand Down

0 comments on commit cb4f0dd

Please sign in to comment.