diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 14716683aba..00000000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,20 +0,0 @@ -version: 2.1 - -orbs: - node: circleci/node@5.1.0 - -jobs: - test-solutions: - executor: node/default - steps: - - checkout - - node/install-packages: - pkg-manager: npm - - run: - command: npm run test solution - name: Run tests in **/solution/*.spec.js - -workflows: - test-solutions: - jobs: - - test-solutions diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 00000000000..788dfdad4bb --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,15 @@ +name: Tests +on: + pull_request: + paths: + - '**/solution/*.js' + +jobs: + tests: + name: Run solution tests + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + - run: npm install + - run: npm run test -- **/solution