Skip to content

[1.2.0] Last.fm, Chart Titles, Text Shadows, and more #66

[1.2.0] Last.fm, Chart Titles, Text Shadows, and more

[1.2.0] Last.fm, Chart Titles, Text Shadows, and more #66

Workflow file for this run

# Runs Type, Format, and Lint checks on all PRs
name: PR Check
on:
pull_request:
jobs:
PR_Check:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
# Read the pnpm version from the `.pnpmrc` file
- name: Read .pnpmrc
id: pnpm_version
uses: juliangruber/read-file-action@v1
with:
path: ./.pnpmrc
- name: Cache PNPM modules
uses: actions/cache@v3
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: ${{ runner.os }}-
- uses: pnpm/[email protected]
with:
version: '${{ steps.pnpm_version.outputs.content }}'
# Read node version from `.nvmrc` file
- id: nvmrc
uses: browniebroke/read-nvmrc-action@v1
- uses: actions/setup-node@v3
with:
# use the output from the action
node-version: '${{ steps.nvmrc.outputs.node_version }}'
- name: Install `node_modules`
run: pnpm install
- name: Checks
run: pnpm checks