Skip to content

Add test cases for combination. #318

Add test cases for combination.

Add test cases for combination. #318

Workflow file for this run

name: build
on:
push:
branches: [ '*' ]
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
name: Test and Deploy Playground
steps:
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install dependencies
working-directory: sof-js
run: bun install
- name: Check formatting
working-directory: sof-js
run: bun run check-fmt
- name: Run tests
working-directory: sof-js
run: bun test
- name: Build
working-directory: sof-js
run: bun build src/index.js > ../test_report/public/processor.js
- name: Build test report
working-directory: test_report
run: bun run prepare && bun run build
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: 'test_report/public'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2