mirror of
https://codeberg.org/lucida/lucida.git
synced 2026-11-09 13:07:25 -05:00
29 lines
771 B
YAML
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'
|