Menu Revamp #23
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: PR Tests (Untrusted) | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
paths: | |
- 'src/**.ts' | |
branches: | |
- 'master' | |
jobs: | |
PR_Tests: | |
# Ensure the PR IS from a fork: otherwise, pr-trusted will run | |
if: github.event.pull_request.head.repo.full_name != github.repository | |
# It's safe to run tests if the PR is from a fork | |
# This workflow doesn't have write permissions | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
run_install: true | |
- name: Run Tests | |
# this also runs tsc | |
run: pnpm run test |