Single Image Server #51
This file contains 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: PR Check | |
on: | |
pull_request: | |
branches: ["main"] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build Agent | |
run: | | |
cd telepathy-agent | |
npm ci | |
npm run build | |
npm run lint | |
npm run test | |
- name: Build Server | |
run: | | |
cd telepathy-server | |
npm ci | |
npm run build | |
npm run lint | |
npm run test | |
- name: Build Web | |
run: | | |
cd telepathy-web | |
npm ci | |
npm run build | |
npm run lint | |
npm run test | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKER_HUB_USERNAME }} | |
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} # Runs a set of commands using the runners shell | |
- name: Build Docker Images | |
run: | | |
set -e | |
chmod +x _dev/*.sh | |
./_dev/docker-build-images-beta.sh |