From a21feda346abbeaa5e02d70bb289aee37ab60286 Mon Sep 17 00:00:00 2001 From: Don Patterson Date: Fri, 22 May 2020 17:18:45 -0700 Subject: [PATCH] Prepping for sharing --- Dockerfile | 8 -------- action.yml | 9 +++++++++ 2 files changed, 9 insertions(+), 8 deletions(-) create mode 100644 action.yml diff --git a/Dockerfile b/Dockerfile index e042ea0..0cab6ce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,6 @@ FROM node:12.10.0 -#Action meta data -LABEL "com.github.actions.name"="Puppeteer Headful" -LABEL "com.github.actions.description"="A GitHub Action / Docker image for Puppeteer, the Headful Chrome Node API" -LABEL "com.github.actions.icon"="layout" -LABEL "com.github.actions.color"="blue" - LABEL "repository"="https://github.com/djp3/puppeteer-headful" -LABEL "homepage"="https://github.com/djp3/puppeteer-headful" -LABEL "maintainer"="Donald Patterson" #Install chromium and xvfb RUN apt-get update \ diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..4b80ec4 --- /dev/null +++ b/action.yml @@ -0,0 +1,9 @@ +name: 'Puppeteer Headful for Chrome Extension Testing' +author: 'Donald Patterson, d_j_p_3@djp3.net' +description: 'A GitHub Action / Docker image for testing Chrome extensions using Puppeteer and Node on a Headful instance of Chromium' +branding: + icon: 'thumbs-up' + color: 'white' +runs: + using: 'docker' + image: 'Dockerfile'