mirror of
https://codeberg.org/lucida/lucida.git
synced 2026-11-13 07:07:49 -05:00
add tests
This commit is contained in:
26
.forgejo/workflows/check.yml
Normal file
26
.forgejo/workflows/check.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
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
|
||||
- name: Comment test results
|
||||
uses: https://github.com/thollander/actions-comment-pull-request@v2
|
||||
with:
|
||||
filePath: '.test-results.md'
|
||||
Reference in New Issue
Block a user