Skip to content

Commit c97a138

Browse files
committed
fix ci
1 parent fb4fcea commit c97a138

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/spa-server-ci.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,14 @@ jobs:
5555
needs: changes
5656
if: ${{ needs.changes.outputs.check_js_client == 'true' }}
5757
runs-on: ubuntu-latest
58-
services:
59-
spa-server:
60-
image: ghcr.io/fornetcode/spa-server:latest
61-
ports:
62-
- 9000:9000
63-
- 8080:8080
64-
options: >-
65-
--mount type=bind,source=${{ github.workspace }}/jsclient/test/config.toml,target=/config/config.toml
6658
steps:
6759
- uses: actions/checkout@v4
68-
# Setup .npmrc file to publish to npm
60+
- name: Run spa-server docker
61+
run: |
62+
docker run -d \
63+
-p 9000:9000 -p 8080:8080 \
64+
--mount type=bind,source=${{ github.workspace }}/jsclient/test/config.toml,target=/config/config.toml \
65+
ghcr.io/fornetcode/spa-server:latest
6966
- uses: actions/setup-node@v4
7067
with:
7168
node-version: '20.x'

0 commit comments

Comments
 (0)