This repository was archived by the owner on Mar 7, 2026. It is now read-only.
ci: switch npm publishing to GitHub Packages #190
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Docker Test | |
| on: | |
| push: | |
| branches: [main, develop] | |
| pull_request: | |
| branches: [main, develop] | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build Docker image | |
| run: docker build -t ui-kit . | |
| - name: Run Docker container | |
| run: docker run -d -p 80:80 --name ui-kit-container ui-kit | |
| - name: Wait for container to start | |
| run: sleep 10 | |
| - name: Check container health | |
| run: curl -f http://localhost:80 || exit 1 |