name: CI on: push: branches: - master pull_request: branches: - master jobs: build-and-test: runs-on: ubuntu-latest steps: - name: Checkout ๐Ÿ›Ž uses: actions/checkout@v2 - name: Setup Node.js and Yarn ๐Ÿ— uses: actions/setup-node@v2 with: node-version: 16 - name: Install Yarn ๐Ÿ“ฆ run: npm install -g yarn - name: Change to new-web directory ๐Ÿ“‚ run: cd open-etc-pool-friends/new-web - name: Install Dependencies ๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป run: yarn install - name: Lint and Fix โœจ run: yarn lint-fix - name: Build ๐Ÿ— run: yarn build - name: Test ๐Ÿงช run: yarn test