mirror of
https://github.com/Neur0toxine/docker-node-alpine-git-gyp.git
synced 2024-11-28 07:16:01 +03:00
15 lines
518 B
YAML
15 lines
518 B
YAML
name: Test Docker image
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2.3.4
|
|
- name: Build the Docker image
|
|
run: |
|
|
docker run -i $(docker build -q 12) /bin/sh -c "node --version && npm --version && git --version"
|
|
docker run -i $(docker build -q 14) /bin/sh -c "node --version && npm --version && git --version"
|
|
docker run -i $(docker build -q 16) /bin/sh -c "node --version && npm --version && git --version"
|