From c5c34ec681d8001f524b99da7dfb6123eba149f7 Mon Sep 17 00:00:00 2001 From: George Kudrayvtsev Date: Tue, 14 Nov 2023 17:11:55 -0800 Subject: [PATCH] Add test running GHA --- .github/workflows/tests.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..785f82d --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,30 @@ +name: Tests + +on: + push: + branches: [ master ] + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Use Node.js 18 + uses: actions/setup-node@v3 + with: + node-version: 18 + + - name: Install Dependencies + run: yarn + + - name: Build All + run: yarn build + + - name: Run Tests + run: yarn test + + - name: Run Linter Checks + run: yarn fmt && yarn lint && (git diff-index --quiet HEAD; git diff)