From a6872dd97cadbd6edc704274a2736b2497af35c0 Mon Sep 17 00:00:00 2001 From: Ashley Hannigan <123664740+ashhannigan@users.noreply.github.com> Date: Sat, 27 Jul 2024 13:34:22 -0400 Subject: [PATCH] Create blank.yml --- .github/workflows/blank.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/blank.yml diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml new file mode 100644 index 0000000..57228e2 --- /dev/null +++ b/.github/workflows/blank.yml @@ -0,0 +1,17 @@ +name: Test PUSH action +on: push +jobs: + test: + runs-on: ubuntu-latest #nodejs preinstalled on the ubuntu runner + steps: + #action needs specific access to download the code from the repository onto this runner or this server + - name: Get code + uses: actions/checkout@v4 + - name: Install NodeJS + uses: actions/setup-node@v4 + with: + node-version: 18 + - name: Install dependencies + run: npm ci #npm ci is best practice over npm i + - name: Run tests + run: npm test