Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,19 @@ on:
- published

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- run: npm ci
- run: npm test

build:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
Expand Down
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ node_modules
npm-debug.log
*.pem
!mock-cert.pem
.env*
package-lock.json
coverage
.idea
.token*
.scss
.*
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ RUN if [ -f package-lock.json ]; then npm ci --omit=dev; else npm install --omit
&& apk del .build-deps

# App sources
COPY app /usr/app/
COPY index.js /usr/
COPY robokit.js /usr/
COPY src /usr/src/
COPY env /usr/.env

EXPOSE 7777
Expand Down
Loading