From 59bae57659118bc8793aca5e78221f35d8669142 Mon Sep 17 00:00:00 2001 From: Timmy Willison Date: Tue, 18 Feb 2025 09:30:49 -0500 Subject: [PATCH] ci(github): add lint workflow --- .github/workflows/test.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..041e9b0 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,20 @@ +name: Test + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + + - name: Install dependencies + run: npm install + + - name: Run tests + run: npm test