Skip to content
Permalink
Browse files

Add GitHub Actions (#74)

* add github actions

* rm dockerfiles for gitlab

* actions: fix action name

* fix permissions for entrypoint.sh

* rm empty newline
  • Loading branch information...
chaseadamsio committed May 4, 2019
1 parent a1a06de commit a86987a15eeb2233efd062b6091d99f677d82c2b
@@ -1,8 +1,15 @@
FROM node:11.11.0-alpine

LABEL "com.github.actions.name"="Check"
LABEL "com.github.actions.description"="Run static analysis and unit tests"
LABEL "com.github.actions.icon"="check-circle"
LABEL "com.github.actions.color"="green"

RUN apk --no-cache add ca-certificates wget ncurses && \
wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub && \
wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.28-r0/glibc-2.28-r0.apk && \
apk add glibc-2.28-r0.apk

CMD "node"
COPY entrypoint.sh /entrypoint.sh

ENTRYPOINT [ "/entrypoint.sh" ]
@@ -0,0 +1,3 @@
#!/bin/sh
set -e
yarn install && yarn test:check-code
@@ -0,0 +1,8 @@
workflow "Pull Request" {
on = "pull_request"
resolves = ["Check Code"]
}

action "Check Code" {
uses ="./.github/actions/check"
}

This file was deleted.

This file was deleted.

0 comments on commit a86987a

Please sign in to comment.
You can’t perform that action at this time.