Skip to content

Commit

Permalink
docker actiosn
Browse files Browse the repository at this point in the history
  • Loading branch information
arvyy committed Jul 14, 2024
1 parent 2ff1e9f commit 08ba759
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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
17 changes: 17 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 08ba759

Please sign in to comment.