diff --git a/.github/workflows/app-unit-test.yml b/.github/workflows/app-unit-test.yml new file mode 100644 index 0000000..24d5351 --- /dev/null +++ b/.github/workflows/app-unit-test.yml @@ -0,0 +1,28 @@ +name: CI + +# This workflow is triggered on pushes and pull requests to the main branch. +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + + - name: Setup Node.js + uses: actions/setup-node@v2 + with: + node-version: '16' + cache: 'pnpm' + + - name: Install dependencies + run: pnpm install + + - name: Run tests + run: pnpm test