diff --git a/.github/workflows/pr-test.yml b/.github/workflows/pr-test.yml new file mode 100644 index 0000000..3ff77ba --- /dev/null +++ b/.github/workflows/pr-test.yml @@ -0,0 +1,22 @@ +name: PR Test + +on: + pull_request: + branches: [ master, develop ] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + + - name: Install dependencies + run: yarn install + + - name: Run tests + run: yarn test