Audit #1
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: Audit | |
on: | |
pull_request: | |
push: | |
workflow_dispatch: | |
jobs: | |
audit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Setup NodeJS | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: "package.json" | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v3 | |
with: | |
version: "^9" | |
- name: Install Dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Run Linter | |
run: pnpm lint | |
- name: Run Tests | |
run: pnpm test |