From f08f01158d760ba52fa220ebcdc0c09aaecbfd22 Mon Sep 17 00:00:00 2001 From: Ashwin Maroli Date: Fri, 20 Dec 2024 12:18:19 +0530 Subject: [PATCH] Run Node-based tests --- .github/workflows/ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 71aa0bea..bf6be2a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,3 +29,23 @@ jobs: bundler-cache: true - name: Unit Tests run: bundle exec rspec + + node: + name: "Test Frontend (Node ${{ matrix.node_version }})" + runs-on: "ubuntu-latest" + strategy: + fail-fast: false + matrix: + node_version: ["12"] + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + - name: "Set up Node ${{ matrix.node_version }}" + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node_version }} + cache: "yarn" + - name: Install Dependencies + run: yarn install + - name: Build frontend and run tests + run: bash script/build