diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml new file mode 100644 index 0000000..48ee847 --- /dev/null +++ b/.github/workflows/run-tests.yaml @@ -0,0 +1,30 @@ +name: Run Tests + +on: + push: + + pull_request: + types: [opened, reopened] + + workflow_dispatch: + +jobs: + run-tests: + runs-on: ubuntu-latest + steps: + - name: checkout 🛎️ + uses: actions/checkout@v4 + + - name: node + uses: actions/setup-node@v4 + with: + node-version: 20.9.0 + + - name: Deps + run: | + yarn + yarn build + + - name: Test + run: | + yarn test \ No newline at end of file