diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..ef90df3 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,21 @@ +name: Test +on: + push: + branches: + - master + pull_request: + branches: + - master +jobs: + test: + name: Test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Setup node + uses: actions/setup-node@v2.5.1 + with: + node-version: 16 + cache: 'yarn' + - run: yarn install + - run: yarn run test