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