From 357edccb30157b473d0a1b4228e4a918312a51bb Mon Sep 17 00:00:00 2001 From: Scott Motte Date: Thu, 8 Feb 2024 15:47:04 -0800 Subject: [PATCH] add ci --- .github/FUNDING.yml | 2 ++ .github/workflows/ci.yml | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 .github/FUNDING.yml create mode 100644 .github/workflows/ci.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..593d067 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,2 @@ +github: motdotla +custom: https://www.dotenvx.com diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..9fa93a9 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [12.x, 14.x, 16.x, 18.x, 20.x] + + steps: + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + - run: npm install + - run: npm test