Skip to content

Commit

Permalink
Run the action in a container (ScaCap#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
nineinchnick authored Mar 9, 2023
1 parent 5b7a533 commit 01b2782
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM node:16-bullseye-slim

COPY dist /dist

ENTRYPOINT ["node", "/dist/index.js"]
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,5 @@ outputs:
description: 'the test outcome, either `success` or `failure`'

runs:
using: 'node16'
main: 'dist/index.js'
using: 'docker'
image: 'Dockerfile'

0 comments on commit 01b2782

Please sign in to comment.