From c93fe6607839e8fb357dcaf6f6f50d17f335b96a Mon Sep 17 00:00:00 2001 From: curious_andrew Date: Wed, 27 Dec 2023 14:31:45 +0300 Subject: [PATCH] ++ test workflow --- .github/workflows/test.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 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..e8d386f --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,24 @@ +name: Run Tests + +on: [push] + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: '14' + + - name: Install dependencies + run: npm install + + - name: Run tests + run: npm test + + - name: Success Message + if: success() + run: echo "Tests passed successfully!"