diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml new file mode 100644 index 0000000000..48cd393458 --- /dev/null +++ b/.github/workflows/frontend.yml @@ -0,0 +1,28 @@ +name: Frontend CI + +on: + push: + paths: + - 'frontend/**' + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [12.x] + + steps: + - uses: actions/checkout@v1 + - name: use node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: yarn install, build, and test + run: | + yarn install + yarn build --if-present + yarn test + env: + CI: true