From 7684e219825fc33a9a871c0b18e811fc3fa051f6 Mon Sep 17 00:00:00 2001 From: Mathew <77069472+Matte22@users.noreply.github.com> Date: Mon, 11 Mar 2024 16:04:32 -0400 Subject: [PATCH] Chore: Update github actions to v4 (#20) * updated actions to use newer versions of node. * test * added this file to on clause * remove testing branch --- .github/workflows/unit-testing.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/unit-testing.yml b/.github/workflows/unit-testing.yml index 47dfd67..141dd74 100644 --- a/.github/workflows/unit-testing.yml +++ b/.github/workflows/unit-testing.yml @@ -10,6 +10,7 @@ on: - "TaskObject.js" - "test/**" - "WATCHER-test-files/**" + - '.github/workflows/unit-testing.yml' pull_request: branches: - main @@ -18,23 +19,23 @@ on: - "TaskObject.js" - "test/**" - "WATCHER-test-files/**" - + - '.github/workflows/unit-testing.yml' jobs: build_test: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 18 + node-version: '20.x' - name: Install app dependencies run: npm ci - name: Run tests run: npm test - name: Upload coverage to github - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ always() }} with: name: coverage