This repository has been archived by the owner on Nov 22, 2024. It is now read-only.
Allow workflow dispatch for release chores #209
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 a pull request | |
on: pull_request | |
jobs: | |
lint: | |
name: Lint and try building bundles | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v4 | |
- name: Use pnpm | |
uses: pnpm/action-setup@6e1964dde3397a825e79e4607ad57f3f7ca2c7cb | |
with: | |
version: ^8.10.2 | |
- name: Set up Node 20 📦 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
cache: pnpm | |
- name: Install dependencies 🧰 | |
run: pnpm install | |
- name: Lint 🔬 | |
run: pnpm run lint | |
- name: Build bundles 🔧 | |
run: pnpm run build |