Skip to content

Commit 78f72db

Browse files
authored
Update test.yml (sqlpad#1244)
* Update test.yml * Update test.yml * Update test.yml * Update test.yml
1 parent 2c42315 commit 78f72db

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/test.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,26 @@ jobs:
1515
node-version: [18.x, 20.x]
1616

1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919

2020
- name: Use Node.js ${{ matrix.node-version }}
21-
uses: actions/setup-node@v3
21+
uses: actions/setup-node@v4
2222
with:
2323
node-version: ${{ matrix.node-version }}
2424

2525
- name: Build for ${{ matrix.node-version }}
2626
run: scripts/build.sh
2727

2828
- name: Store artifacts
29-
uses: actions/upload-artifact@v3
29+
uses: actions/upload-artifact@v4
3030
with:
3131
name: built_node${{ matrix.node-version }}
3232
path: server/public
3333

3434
test:
3535
needs: build
3636
runs-on: ubuntu-20.04
37-
timeout-minutes: 30
37+
timeout-minutes: 15
3838

3939
strategy:
4040
fail-fast: false # if one job fails, others will not be aborted
@@ -51,20 +51,20 @@ jobs:
5151
node-version: ${{ matrix.node-version }}
5252

5353
- name: Start redis
54-
run: docker-compose -f server/docker-compose.yml up -d redis &
54+
run: docker compose -f server/docker-compose.yml up -d redis &
5555

5656
- name: Start ldap
57-
run: docker-compose -f server/docker-compose.yml up -d ldap &
57+
run: docker compose -f server/docker-compose.yml up -d ldap &
5858

5959
- name: Start service for backend server
6060
if: ${{ matrix.backendtype }}
61-
run: docker-compose -f server/docker-compose.yml up -d ${{ matrix.backendtype }} &
61+
run: docker compose -f server/docker-compose.yml up -d ${{ matrix.backendtype }} &
6262

6363
- name: Install node modules
6464
run: (cd server && yarn)
6565

6666
- name: Download built artifacts
67-
uses: actions/download-artifact@v3
67+
uses: actions/download-artifact@v4
6868
with:
6969
name: built_node${{ matrix.node-version }}
7070
path: server/public

0 commit comments

Comments
 (0)