name: 📦 Test and Deploy on: push: branches: - master jobs: install-and-test: runs-on: ubuntu-latest strategy: matrix: node-version: [12.x] steps: - uses: actions/checkout@master - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@master with: node-version: ${{ matrix.node-version }} - name: Install and Test run: | yarn yarn test yarn build