17 lines
581 B
YAML
17 lines
581 B
YAML
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' }}
|