From 007fb515ce8520b583105444292ee8b5790bf4fa Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sat, 13 Apr 2024 07:43:09 -0700 Subject: [PATCH] workflow --- .github/workflows/run-tests.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/run-tests.yaml 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