diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f6b5bcc3..258fde9f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,3 +25,20 @@ jobs: file: ./Dockerfile.dev push: true tags: ghcr.io/letsgettechnical/image:dev + tests: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [21.x, 20.x] + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: npm install + run: npm ci + - name: tests + run: npm test