Files
lucida/.forgejo/workflows/check.yml
2024-07-30 18:43:34 -04:00

29 lines
771 B
YAML

on:
pull_request:
jobs:
check:
runs-on: docker
steps:
- name: Checkout repository
uses: https://code.forgejo.org/actions/checkout@v4
- uses: https://github.com/pnpm/action-setup@v4
name: Install pnpm
with:
version: 9
run_install: false
- name: Install Node.js
uses: https://github.com/actions/setup-node@v4
with:
node-version: 'latest'
cache: 'pnpm'
- run: pnpm install
- run: pnpm run build
- run: pnpm run test
env:
TEST_OPTIONS: ${{ secrets.TEST_OPTIONS }}
- name: Comment test results
uses: https://github.com/thollander/actions-comment-pull-request@v2
with:
filePath: '.test-results.md'