From c5b6bd26477308c33aa98e7a403222a79152addd Mon Sep 17 00:00:00 2001 From: Rob Anderson Date: Thu, 16 Mar 2023 22:21:30 +0000 Subject: [PATCH] test workflow --- .github/workflows/test.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..2070f94 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,21 @@ +name: Main Tests +on: + push: + branches: + - main +jobs: + test: + runs-on: ubuntu-latest + env: + working-directory: ./.github/scripts + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 14 + cache: npm + cache-dependency-path: ${{ env.working-directory }}/package-lock.json + - run: npm ci + working-directory: ${{ env.working-directory }} + - run: npm test + working-directory: ${{ env.working-directory }}