name: Node.js CI on: push: branches: [master] pull_request: branches: [master] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Use Node.js uses: actions/setup-node@v3 with: node-version: "16.x" cache: "yarn" - name: Install dependencies run: yarn --frozen-lockfile - name: Lint run: yarn lint:ci - name: Build the project run: yarn build:ci