diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..fd105ae --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,16 @@ +name: Build docker image +on: + push: + +jobs: + build_docker: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Build and export to Docker + uses: docker/build-push-action@v6 + with: + push: false + - run: | + cd build + docker build .. -f Dockerfile diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..25e403a --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,17 @@ +name: Lint angular app +on: + push: + paths: + - '.github/workflows/lint.yml' + - 'scheme-index-app/**' +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: '20.x' + - run: | + cd scheme-index-app + npm run lint