diff --git a/.github/workflows/lint-and-test.yaml b/.github/workflows/lint-and-test.yaml new file mode 100644 index 0000000..93875a1 --- /dev/null +++ b/.github/workflows/lint-and-test.yaml @@ -0,0 +1,18 @@ +name: Lint and Test +on: push +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: ['22.x', '23.x'] + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + - name: Install dependencies + run: npm install + - run: npm test