Skip to content

Modifying build script to copy frontend to OUT_DIR and avoid building… #12

Modifying build script to copy frontend to OUT_DIR and avoid building…

Modifying build script to copy frontend to OUT_DIR and avoid building… #12

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build Docker image
run: docker build --target rust-builder -t crates-regisstry-test .
- name: Run tests in the Docker container
run: docker run -e SKIP_BUILDING_FRONTEND=1 crates-regisstry-test cargo test