Merge pull request #34 from aniongithub/fix/devcontainer-port-mapping #105
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: CI | |
| on: | |
| pull_request: | |
| branches: [main] | |
| push: | |
| branches: [main] | |
| jobs: | |
| check: | |
| name: Check & Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Build and test in devcontainer | |
| uses: devcontainers/ci@v0.3 | |
| with: | |
| push: never | |
| runCmd: | | |
| set -e | |
| # Build webui | |
| cd webui && npm install && npm run build && cd .. | |
| # Go checks | |
| go vet ./... | |
| go test ./... | |
| go build -o /tmp/mind-map ./cmd/mind-map/ |