Merge development into main #184
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Bun testing suite | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [opened, synchronize] | |
env: | |
NODE_ENV: "test" | |
APP_WEBHOOK_SECRET: ${{ secrets.APP_WEBHOOK_SECRET }} | |
APP_ID: ${{ secrets.APP_ID }} | |
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }} | |
jobs: | |
testing: | |
permissions: write-all | |
runs-on: ubuntu-latest | |
steps: | |
- uses: oven-sh/setup-bun@v1 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "20.10.0" | |
- uses: actions/checkout@master | |
with: | |
fetch-depth: 0 | |
- name: Build & Run test suite | |
run: | | |
bun i | |
bun jest:test |