Skip to content

fix: test.yml

fix: test.yml #19

Workflow file for this run

name: Run Bun Tests
on:
push:
branches: ["*"]
pull_request:
branches: ["*"]
jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Install bun
uses: oven-sh/setup-bun@v1
run: export PAYSTACK_SECRET=${{secrets.PAYSTACK_SECRET}}

Check failure on line 18 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / Run Bun Tests

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 18, Col: 9): Unexpected value 'run' .github/workflows/test.yml (Line: 19, Col: 9): 'run' is already defined
run: export CUSTOMER_CODE=${{ secrets.CUSTOMER_CODE }}
env:
PAYSTACK_SECRET: ${{ secrets.PAYSTACK_SECRET }}
CUSTOMER_CODE: ${{ secrets.CUSTOMER_CODE }}
- name: Install dependencies
run: bun install
- name: Test package
run: bun test