Add blog post "5 steps to automate repetitive tasks in software development" #3932
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint & build | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: package.json | |
- uses: pnpm/action-setup@v4 | |
with: | |
run_install: true | |
- name: Lint | |
run: pnpm run lint | |
- name: Build production-ready site | |
run: pnpm run build |