diff --git a/.github/workflows/src/.node-version b/.github/workflows/src/.node-version new file mode 100644 index 00000000..44a5e718 --- /dev/null +++ b/.github/workflows/src/.node-version @@ -0,0 +1 @@ +14.9.0 diff --git a/.github/workflows/src/index.js b/.github/workflows/src/index.js index 1bb4a0cc..2db9b499 100644 --- a/.github/workflows/src/index.js +++ b/.github/workflows/src/index.js @@ -1 +1,3 @@ console.log("THIS IS NODE") +console.log(`sha: ${process.env.GITHUB_SHA}`) +console.log(`ref: ${process.env.GITHUB_REF}`) diff --git a/.github/workflows/src/package.json b/.github/workflows/src/package.json new file mode 100644 index 00000000..1e919ee1 --- /dev/null +++ b/.github/workflows/src/package.json @@ -0,0 +1,11 @@ +{ + "name": "GitHub Graduation", + "version": "1.0.0", + "description": "", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "author": "", + "license": "ISC" +}