diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..cbb5931 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,27 @@ +name: Test +on: + push: + branches: [master] + pull_request: + branches: [master] + +jobs: + test-job: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Use Node 20.x + uses: actions/setup-node@v3 + with: + node-version: '20.x' + + - name: Setup yarn + run: npm install -g yarn + + - name: Install dependencies + run: yarn + + - name: Test + run: yarn test