This repository has been archived by the owner on Nov 22, 2024. It is now read-only.
Add a changelog entry, upgrade dependencies, bump #198
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@v2 | |
with: | |
persist-credentials: false | |
- name: Set up Node 14 📦 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
- name: Cache pnpm modules 🗄 | |
uses: actions/cache@v2 | |
env: | |
cache-name: cache-pnpm-modules | |
with: | |
path: ~/.pnpm-store | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }} | |
restore-keys: | | |
${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}- | |
- name: Install pnpm 🧰 | |
uses: pnpm/[email protected] | |
with: | |
version: 6.14.2 | |
- name: Install dependencies 🧰 | |
run: pnpm install | |
- name: Lint 🔬 | |
run: pnpm run lint | |
- name: Build bundles 🔧 | |
run: pnpm run build |