add all of the testing
This commit is contained in:
parent
d5b4341487
commit
91f39a80a7
12 changed files with 485 additions and 69 deletions
17
.forgejo/workflows/test.yaml
Normal file
17
.forgejo/workflows/test.yaml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [windows-node-iron, node-16]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: http://github.com/actions/checkout@v4
|
||||
- uses: http://github.com/oven-sh/setup-bun@v2
|
||||
- run: bun install
|
||||
shell: ${{ matrix.os == 'windows-node-iron' && 'powershell' || 'bash' }}
|
||||
- run: bun run prod
|
||||
shell: ${{ matrix.os == 'windows-node-iron' && 'powershell' || 'bash' }}
|
||||
- name: run tests
|
||||
run: bun test
|
||||
shell: ${{ matrix.os == 'windows-node-iron' && 'powershell' || 'bash' }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue