From 8c59f0376643fc40b59c5c24d407e534c066e0b3 Mon Sep 17 00:00:00 2001 From: LPMendoza Date: Mon, 5 Sep 2022 21:32:17 -0500 Subject: [PATCH] Using docker containers --- .github/workflows/container.yml | 12 ++++++++++++ .github/workflows/matrix.yml | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/container.yml diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml new file mode 100644 index 0000000..125d27f --- /dev/null +++ b/.github/workflows/container.yml @@ -0,0 +1,12 @@ +name: Container +on: push + +jobs: + node-docker: + runs-on: ubuntu-latest + container: node:13.5.0-alpine3.10 + steps: + - name: Log node version + run: | + node -v + cat /etc/os-release \ No newline at end of file diff --git a/.github/workflows/matrix.yml b/.github/workflows/matrix.yml index c740919..edb9b7f 100644 --- a/.github/workflows/matrix.yml +++ b/.github/workflows/matrix.yml @@ -1,5 +1,5 @@ name: Matrix -on: push +on: pull_request jobs: node-version: