Compare commits

...

8 Commits

Author SHA1 Message Date
platane
e5fbdf8cfe aaaaaa 2020-07-19 21:09:33 +02:00
platane
f2452ed852 aaaaaa 2020-07-19 20:37:57 +02:00
platane
c4d7bdf2bd aaaaaa 2020-07-19 20:35:32 +02:00
platane
9b05b7fdaa aaaaaa 2020-07-19 20:20:48 +02:00
platane
ccbe4e530c aaaa 2020-07-19 20:04:40 +02:00
platane
bc6405aca3 aaaa 2020-07-19 20:03:12 +02:00
platane
fc4e8d4436 aaaa 2020-07-19 19:42:37 +02:00
platane
978ec843d3 aaaa 2020-07-19 19:37:54 +02:00
4 changed files with 18 additions and 11 deletions

View File

@@ -11,17 +11,17 @@ jobs:
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/setup-node@v1.4.2
with:
node-version: 14
- uses: bahmutov/npm-install@v1
- uses: bahmutov/npm-install@v1.4.1
- run: yarn build:demo
env:
BASE_PATHNAME: "snk"
- uses: crazy-max/ghaction-github-pages@068e494
- uses: crazy-max/ghaction-github-pages@v2.1.1
with:
target_branch: gh-pages
build_dir: packages/demo/dist

View File

@@ -9,11 +9,11 @@ jobs:
steps:
# - run: sudo apt-get install gifsicle graphicsmagick
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/setup-node@v1.4.2
with:
node-version: 14
- uses: bahmutov/npm-install@v1
- uses: bahmutov/npm-install@v1.4.1
# - run: yarn type
# - run: yarn lint
@@ -21,8 +21,9 @@ jobs:
# - run: yarn build:lib
- name: generate-snake-game-from-github-contribution-grid
uses: Platane/snk@v0.0.2
uses: Platane/snk@master
with:
github_user_name: platane
- run: ls
- run: ls

View File

@@ -4,7 +4,13 @@ RUN apt-get update \
&& apt-get install -y --no-install-recommends gifsicle graphicsmagick \
&& rm -rf /var/lib/apt/lists/*
COPY packages/action/dist/* ./generate-snake-game-from-github-contribution-grid/
COPY tsconfig.json package.json yarn.lock ./generate-snake-game-from-github-contribution-grid/
COPY packages ./generate-snake-game-from-github-contribution-grid/packages/
CMD ["node", "generate-snake-game-from-github-contribution-grid/index.js"]
RUN ( cd ./generate-snake-game-from-github-contribution-grid ; yarn install --frozen-lockfile )
RUN ( cd ./generate-snake-game-from-github-contribution-grid ; yarn build:action )
CMD ["find", "./generate-snake-game-from-github-contribution-grid"]
# CMD ["node", "./generate-snake-game-from-github-contribution-grid/packages/action/dist/index.js"]

View File

@@ -9,9 +9,9 @@ outputs:
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.github_user_name }}
- ${{ inputs.gif_out_path }}
# args:
# - ${{ inputs.github_user_name }}
# - ${{ inputs.gif_out_path }}
inputs:
github_user_name: