We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c62d560 commit a45c954Copy full SHA for a45c954
1 file changed
.github/workflows/deploy.yml
@@ -1,4 +1,4 @@
1
-name: Node.js CI
+name: Deploy Frontend
2
3
on:
4
push:
@@ -7,22 +7,15 @@ on:
7
branches: ['main']
8
9
jobs:
10
- build:
+ docker-test:
11
runs-on: ubuntu-latest
12
13
steps:
14
- - uses: actions/checkout@v4
+ - name: Checkout code
15
+ uses: actions/checkout@v4
16
- - name: Set up Node.js
17
- uses: actions/setup-node@v4
18
- with:
19
- node-version: '22'
+ - name: Build Docker image for testing
+ run: docker build -t cygnetops/react-test -f Dockerfile.dev .
20
21
- - name: Install dependencies
22
- run: npm ci
23
-
24
- - name: Run build
25
- run: npm run build
26
27
- - name: Run tests
28
- run: npm test
+ - name: Run tests in Docker container
+ run: docker run -e CI=true cygnetops/react-test npm test
0 commit comments