diff --git a/.github/workflows/github-ci.yaml b/.github/workflows/github-ci.yaml new file mode 100644 index 0000000..fdc4a8b --- /dev/null +++ b/.github/workflows/github-ci.yaml @@ -0,0 +1,30 @@ +name: CI + +on: + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Setup Node.js + uses: actions/setup-node@v2 + with: + node-version: '18.x' + + - name: Install yarn + run: npm i --global yarn + + - name: Install npm packages + run: yarn install + + - name: Build assets + run: yarn build + + - name: Run test + run: yarn test -- --watchAll=false