Skip to content

refactor code

refactor code #3

Workflow file for this run

name: Bun Continuous Integration
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: bun testing
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.1.34 # or "latest", "canary", <sha>
- name: bun install and test
run: |
bun install
bun run lint
bun run test
env:
APP_PORT: ${{ variables.TEST_APP_PORT }}

Check failure on line 26 in .github/workflows/bunhono_ci.yml

View workflow run for this annotation

GitHub Actions / Bun Continuous Integration

Invalid workflow file

The workflow is not valid. .github/workflows/bunhono_ci.yml (Line: 26, Col: 19): Unrecognized named-value: 'variables'. Located at position 1 within expression: variables.TEST_APP_PORT .github/workflows/bunhono_ci.yml (Line: 27, Col: 23): Unrecognized named-value: 'variables'. Located at position 1 within expression: variables.TEST_DATABASE_URL
DATABASE_URL: ${{ variables.TEST_DATABASE_URL }}
ACCESS_TOKEN_AGE: ${{ variables.TEST_ACCESS_TOKEN_AGE }}
ACCESS_TOKEN_SECRET: ${{ variables.TEST_ACCESS_TOKEN_SECRET }}