diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index c2dd773..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,14 +0,0 @@ -version: 2 -jobs: - build: - docker: - - image: node:7.4.0 - working_directory: ~/ofx-js - steps: - - checkout - - run: - name: Install Dependencies - command: npm install - - run: - name: NPM Test - command: npm test diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml new file mode 100644 index 0000000..06c952c --- /dev/null +++ b/.github/workflows/ci-test.yml @@ -0,0 +1,20 @@ +name: Run tests (Node.js) + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: ['14.x', '16.x', '18.x'] + + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + - run: npm install + - run: npm test