Skip to content

Snapshot update for workspace #365

Snapshot update for workspace

Snapshot update for workspace #365

Workflow file for this run

# Simple workflow for deploying static content to GitHub Pages
name: Lint and Build
on:
# Runs on pushes targeting the default branch
push:
pull_request_target:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Down scope as necessary via https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
permissions:
checks: write
contents: read
packages: read
jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up pnpm
uses: pnpm/action-setup@v3
with:
version: 8
run_install: false
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 21
cache: "pnpm"
- name: Login
run: |
pnpm set "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}"
- name: Install dependencies
run: pnpm install
- name: Run linters
uses: zjkmxy/[email protected]
with:
# Enable your linters here
eslint: true
eslint_args: "--max-warnings 10"
- name: Build
run: pnpm build